@CodedVortex thank you for this explanation, I didn't know that using Array was not best practice.
Barring when it is not used correctly, does the literal notation have any performance benefits over calling the constructor? (i.e. any time/space-related metrics.)
This comment is hidden because it contains spoiler information about the solution
Wait, we have to use that? I didn't realize what was the meaning of "higher order function", my bad. Thanks for reminding me.
This comment is hidden because it contains spoiler information about the solution
@CodedVortex thank you for this explanation, I didn't know that using
Array
was not best practice.Barring when it is not used correctly, does the literal notation have any performance benefits over calling the constructor? (i.e. any time/space-related metrics.)
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
wow, the longest wins !
could you use even more variables and useless returns ? ;-)))))
i just lern JS) txh)
no, we don't, thx
This comment is hidden because it contains spoiler information about the solution
do we really need conversion to int here (~~) ?
I'll remember next time. Thanks
Use spoiler flag, your posts in a solution are visible in the homepage otherwise, and you're showing several solutions at once.
Loading more items...