educative.io

JS code for this problem is wrong

answer has to be in array. can you please fix this?