JavaScript·Beginner·Coding·1 min read
Can an arrow function be used with new?
Short interview answer
No. Arrow functions lack [[Construct]] and their own prototype property for instance construction, so calling one with new throws a TypeError.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.