call( ) polyfill

MediumMetaUberAmazonTarget

Prompt

Implement a polyfill for the JavaScript .call() method. Add a myCall method to Function.prototype that works exactly like the native .call(), without using .call(), .apply(), or .bind().

A null or undefined context means the global object. A primitive context such as 'abc' or 0 should work too, as it does with the native method.