- 2
What is the output of this code?
const arr = ['3', '5', '8']; console.log( arr.find(x => x == 8).repeat(2) );
3 Answers
+ 1
Because sometimes its may confused
+ 1
Lesson learned; next time, ask for code explanation, not code output.
0
Everytime you want to know the output of a code, just run it.