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
Similar Kata:
Stats:
Created | Jan 14, 2014 |
Published | Jan 14, 2014 |
Warriors Trained | 2027 |
Total Skips | 373 |
Total Code Submissions | 10180 |
Total Times Completed | 1019 |
JavaScript Completions | 1012 |
Total Stars | 47 |
% of votes with a positive feedback rating | 88% of 123 |
Total "Very Satisfied" Votes | 101 |
Total "Somewhat Satisfied" Votes | 15 |
Total "Not Satisfied" Votes | 7 |