Within a JavaScript function how do I know if I was invoked with new?
56390
How to detect if a function is called as constructor?
14817
Why is __init__() always called after __new__()?
23363
How does 'call' work in javascript?
14362
Javascript 'new' with function returning self-defined object
13094
Which event should we subscribe to if we want code to be triggered when a new user registers?
7683
How to access the correct `this` inside a callback?
97409
new Number() vs Number()
12516
How can I find the method that called the current method?
78838
Why LastModifiedbyid in Trigger.new gives old value
116764
How to deterministically verify that a JSON object hasn't been modified?
69672
How to call out javascript function which is assigned to a variable?
83539
Is is possible to call a function after window.location has loaded new URL?
8510
Can we omit parentheses when creating an object using the "new" operator?
103629
Why does object.__new__ work differently in these three cases
143867
Why do I get an empty object when a function is invoked in node.js?
96137
In hook_user_login is there a way to know if this is the first time the user has logged in?
121066
How to check if list item already exist when adding it with