Closed rostacik closed 11 years ago
hi. at this URL http://addyosmani.com/resources/essentialjsdesignpatterns/book/#detailmodule in Object Literals part there is this example :
var myObjectLiteral = {
variableKey: variableValue, functionKey: function () { // ... };
};
functionKey trailing ; should be dropped.
regards, dusan
Already fixed. Thanks.
hi. at this URL http://addyosmani.com/resources/essentialjsdesignpatterns/book/#detailmodule in Object Literals part there is this example :
var myObjectLiteral = {
};
functionKey trailing ; should be dropped.
regards, dusan