0

What is the output of the following code? function magic(...nums) { let sum = 0; nums.filter(n => n % 2 == 0).map(el => sum+

arguments object

15th Oct 2019, 11:09 AM
amal mohammed
amal mohammed - avatar
3 RĂ©ponses
+ 1
The Answer is 12
29th Sep 2022, 1:09 PM
SOLO SOLUTIONS
SOLO SOLUTIONS - avatar
0
seems unfinished, why dont you try to run the progrsm youself ? sololearn has codeplayground. you can ask if you have a doubt or need the explaination from the output you get.
15th Oct 2019, 11:12 AM
Taste
Taste - avatar
0
I hate Javascript 🙁
19th Oct 2019, 11:53 AM
Acc. Deleted