mycars[i].bytes未定义导致的
监控项键值vfs.fs.get
预处理名称为javascript
参数 :
var i;
var xxx = 1.1;
var mycars = value;
for (i=0;i<mycars.length;i++){
if (xxx < mycars[i].bytes.pused){
xxx = mycars[i].bytes.pused
};
};
return xxx;
运行提示:
TypeError: cannot read property 'pused' of undefined
at [anon] (duktape.c:59387) internal
at [anon] (function:5) preventsyield
错误信息