While it does work, formatting like this should be avoided as makes the answer much harder to read.
Of course using max() function, great solution!
I overthought my solution I believe...
Wouldn't this yield the wrong result, if array[n] === 0 and n > 0?
array[n] === 0
n > 0
Approved, apologies for the delay
The random tests generate a == b sometimes.
This comment is hidden because it contains spoiler information about the solution
which is the name of this feature of the language ?
I ask because the solution liked me, but I don´t know where to study it.
approved by someone
Merge conflict. Fork and update the description.
Got it. Thank you very much!
Because there is a test with no argument and without it, it'll throw an error.
I understand defaults (kindof). By why do we need a default (n=0) in this case?
Thank you very much!