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.
Was blind to a misnamed variable while writing this.
base
is being used as an exponent hereWhat if the hd doesn't fill and we overrun the sizes array?
hd -= undefined
hd becomes NaN,NaN >= 0
is false so the while loop ends correctlyYay JavaScript (this time)
I like your solution - clever :D
How would you update the object "not in place"?
JavaScript - "write a function that adds the username property to each object in the input array"
Is still unclear if we are meant to update the objects in place or not
x is pairs of mating bears
not number of mating bears
not total number of bears in the park
number of mating pairs of bears
(JS)
This issue caused some very strange expected results on the tests.