6 kyu

Write JavaScript's 'call' function using apply.

1,015 of 1,022Gowiem

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 Trained2038
Total Skips373
Total Code Submissions10189
Total Times Completed1022
JavaScript Completions1015
Total Stars47
% of votes with a positive feedback rating88% of 124
Total "Very Satisfied" Votes101
Total "Somewhat Satisfied" Votes16
Total "Not Satisfied" Votes7
Ad
Contributors
  • Gowiem Avatar
  • trashy_incel Avatar
Ad