Possible Duplicate:
new MyClass(); vs new MyClass;
Please see comments below
When creating a new instance of an object, what is the difference between A and B below
A, using brackets
var foo = new Bar();
B without brackets
var foo = new Bar;
I am using backbone.js where many examples do not use brackets. Also, what is the correct terminology to call the ()
's? Execute?