In Web AppBuilder (Developer Edition), when I checked the source code of Layer List Widget (Widget.js) , I don't understand why there is always a comma at the end of each function such as below: This is not right in JavaScript grammar. Why? Thanks!
destroy: function() {
this._clearLayers();
this.inherited(arguments);
},
It should be : var destroy = function () {...};