words

surplus commas in JS Objects cause parse error in IE

...
  },
    view : {
      init: function (){},

      showPopup : function(){
        // auto fix
      },
    },
    controller : {
...

Will throw parse error in IEs cause of the surplus comma at line 8. Others dont care.

Last updated: