FrontendArk

Master Frontend Interviews

  • Practice
  • Playground
  • Resource
Easy

Implement Call Function

10 mins

The built-in JavaScript method Function.prototype.call() allows you to invoke a function with an explicit this value and arguments passed one by one.

Your task: Implement a custom version named Function.prototype.myCall.

⚠️ You should not use the native call method internally.

Code Editor

JavaScript Function

00:00
Loading...

Test Cases

No test results yet

Click "Run" to execute tests