6 kyu

Write JavaScript's 'call' function using apply.

1,012 of 1,019Gowiem

Description:

Imagine JavaScript didn't natively include the call function. The apply function however still exists.

Using apply, write call.

Note: console.log internally uses the 'call' function, which therefore means you can't debug using console.log as it will either call an empty function or cause an infinite loop.

Fundamentals

Stats:

CreatedJan 14, 2014
PublishedJan 14, 2014
Warriors Trained2027
Total Skips373
Total Code Submissions10180
Total Times Completed1019
JavaScript Completions1012
Total Stars47
% of votes with a positive feedback rating88% of 123
Total "Very Satisfied" Votes101
Total "Somewhat Satisfied" Votes15
Total "Not Satisfied" Votes7
Ad
Contributors
  • Gowiem Avatar
  • trashy_incel Avatar
Ad