关于javascript:没有括号的构造函数调用

Constructor invocation without parentheses

本问题已经有最佳答案,请猛点这里访问。

两者之间有什么区别吗?

1
var obj1 = new Constructor;

1
var obj2 = new Constructor();

假设Constructor是构造函数?


根据MDN文档:

[...]"new foo" is equivalent to"new foo()", i.e. if no argument list is
specified,"foo" is called without arguments.