var data = {
items: ['a', 'b', 'c'],
get length () {
return this.items.length;
},
set first (val) {
this.items[0] = val;
}
};
console.log(data.length); // 3
data.length = 4; // 严格模式下报错:Uncaught TypeError: Cannot set property length of #<Object> which has only a getter(…)
console.log(data.first = 'd');
console.log(data.items); // ["d", "b", "c"]
var MyDate = function() {}
for file: [/Users/CoderQ/Downloads/opencv-3.1.0/3rdparty/ippicv/downloads/macosx-4ff1fde9a7cfdfe7250bfcd8334e0f2f/ippicv_macosx_20151201.tgz]
expected hash: [4ff1fde9a7cfdfe7250bfcd8334e0f2f]
actual hash: [cc09c2a46b5dd28acea8e1e78e296670]
status: [28;"Timeout was reached"]