This comment is hidden because it contains spoiler information about the solution
Yes, it creates. But it drops input array setting copy of it to the numbers param. It possibly could also be considered as input array changing.
Sorry. I've had honor < 50 when posting so I hadn't such possibility. But after couple more kata Codewars say I now can do this. So I'll take this to account next time. Thanks for editing.
Please use spoiler flag next time.
I've never thought that this as well as '' + b converts the variable to String. And it does. Even with null, undefined and NaN as a value of variable.
'' + b
null
undefined
NaN
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes, it creates. But it drops input array setting copy of it to the numbers param. It possibly could also be considered as input array changing.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Sorry. I've had honor < 50 when posting so I hadn't such possibility. But after couple more kata Codewars say I now can do this. So I'll take this to account next time. Thanks for editing.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
I've never thought that this as well as
'' + b
converts the variable to String. And it does. Even withnull
,undefined
andNaN
as a value of variable.