How to detect if a function is called as constructor ?

Asked question
Sorry, you do not have permission to read comments.