JSLint insists that something is wrong with this use of .call:
function GridView(tableArray, tableId, multiselect) { "use strict"; if (multiselect == undefined) { this.multiselect = false; } else { this.multiselect = multiselect; } this.tableID = tableId; this.propertiesArr = []; this.tableHTML = undefined; this.oTable = undefined; this._constructTable.call(this, tableArray); }
Wrong. Well, unexpectedly, anyway. I just canβt understand for life why, is something wrong with the code? This seems to work, but I'm worried about unexpected behavior.
source share