Can a function fail to be a constructor in JavaScript?
06:32 09 Jun 2014

Is there exist a function which is not a constructor in JavaScript. I.e. the following line will be cause TypeError:

var a = new foo(); //foo is not a constructor

In the other words I would like to know the following:

Is there exist a function that has no [[Construct]] internal property?

javascript constructor