← All questions
MediumJavaScript

How to detect if a function is called as constructor

How to detect if a function is called as constructor