Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Mr.Obvious :D
Why using Math.pow(height,2) over height**2? Genuine question.
that was good way to use math
Honestly think height ** 2 is better. I'll be remembering that!
You have to use
Math.pow()
, notmath.pow()
i tried to use Math.pow(height,2) but it doesent work i have an error says ReferenceError: math is not defined.
perfect as it should be
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Nice practice.
I don't see why best practices would have magic numbers instead of descriptive variables.
Exactly as Jotha said, that was my reasoning. Return does the same as break here.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Loading more items...