+ 4

Quiz declined

What should i do to make this good? Idk why it got downvoted... //You submission was declined due to community downvotes. Please try again. What is the output of this code? const {PI,floor} = Math, foo = PI, bar = (goo) => { return floor(goo || foo); }; console.log(bar() + [0,1,2].reduce( (solo,learn) => solo + bar(learn * foo) ));

28th Feb 2019, 8:59 AM
Adriel Matei
Adriel Matei - avatar
2 Réponses
+ 5
Maybe it was too hard for the reviewers? 😂
28th Feb 2019, 11:50 AM
Sonic
Sonic - avatar