Skip to content
loading...

re: 70 JavaScript Interview Questions VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks for telling me this little problem šŸ˜
 

Thanks for writing the article. Iā€™m enjoying it.

Also,

reduce.apply(obj1, [1, 2, 3, 4, 5]); // returns 15
reduce.apply(obj2, 1, 2, 3, 4, 5); // returns 15

Did you mean reduce.call obj2, 1, 2, 3, 4, 5); ?

code of conduct - report abuse