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
/
call, apply and bind
What happens when new invokes a bound function whose target is constructible?
from call, apply and bind
Node 24
advanced
1 min
What happens when new invokes a bound function whose target is constructible?
The bound receiver becomes the new object.
A new receiver is created; bound leading arguments are still prepended.
All bound state is ignored, including leading arguments.
Every bound function throws when used with new.
Check
Ask AI about this kata
Report an error
previous kata
What can bind change when its target is an arrow function?
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload