Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
JavaScript
/
this binding
An arrow created inside a method reads this.id. What does arrow.call(other) do?
from this binding
Node 24
intermediate
1 min
An arrow created inside a method reads this.id. What does arrow.call(other) do?
It reads other.id because call always has highest precedence.
It reads the id from the this captured when the arrow was created.
It throws because arrows have no call method.
It creates a shallow copy of other before reading id.
Check
Ask AI about this kata
Report an error
next kata
What happens to a bound this when a constructible bound function is called with new?
Quiz
A new version is available
Reload