Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function asdf() {
- return this.a
- }
- let k = {a:'hi'}
- asdf.bind(k)() //'hi'
- asdf.call(k) //'hi'
- asdf.apply(k) //'hi'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement