Add bounds checks to DataView and fix some lint issues

This commit is contained in:
dcodeIO
2018-11-12 09:11:04 +01:00
parent 1882679807
commit 84ffa91db9
5 changed files with 4541 additions and 3046 deletions

View File

@ -184,7 +184,7 @@ tests.forEach(filename => {
console.log(colorsUtil.red(" abort: " + getString(msg) + " at " + getString(file) + ":" + line + ":" + column));
},
trace: function(msg, n) {
console.log(" " + getString(msg) + (n ? " " : "") + Array.prototype.slice.call(arguments, 2, 2 + n).join(", "));
console.log(" trace: " + getString(msg) + (n ? " " : "") + Array.prototype.slice.call(arguments, 2, 2 + n).join(", "));
},
externalFunction: function() { },
externalConstant: 1