jsut nothig to worry about !! try to perform just the original array !! like the line below! _
questions.forEach(elt=>elt.usersAnswer=null);
or by map or any method of es6 array methods !
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.
like (y)
jsut nothig to worry about !! try to perform just the original array !! like the line below!
_questions.forEach(elt=>elt.usersAnswer=null);
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.
perfect
no, that's actually correct x)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Sadly JavaScript doesn't use integers, so this solution will fail if you give it a value of
0.12
.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 thequestions
array and it will pass.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...