jsut nothig to worry about !! try to perform just the original array !! like the line below! _
or by map or any method of es6 array methods !
I would avoid having 2 returns, instead its better to have a variable ret and only return it at the end of the condition.
no, that's actually correct x)
This comment is hidden because it contains spoiler information about the solution
Test cases was fixed a year ago.
@clarity thank you alot i didnt read the last line omg
From the description: The questions array is already defined for you and is not the same as the one in the example. Drop the questions array and it will pass.
The questions array is already defined for you and is not the same as the one in the example.