Home
Topics
Practice
Roadmap
DSA Tracker
Code Editor
Tech Blogs
More
Sign in
Get started
Loading question...
Feedback
Implement Function.prototype.bind
Hard
00:00
0 users online
Share
Description
Solution
Submissions
Discussion
Write your own function bind implementation.
Sample Input:
function(a, b) { return a + b; }
Sample Output:
function
Hints
Hint 1
Return a new function
Hint 2
Set the correct this context
Hint 3
Handle pre-bound arguments
Code Editor
Reset
Run
Save
Loading...