blob: cd35cdbea2d12840e233b3c330aa5d1cb5b97903 (
plain)
1
2
3
4
5
6
7
8
|
x = [
objectEmulatingUndefined(),
function() {}
];
x.forEach(function() {});
this.x.sort(function() {});
assertEq(x[0] instanceof Function, false);
assertEq(x[1] instanceof Function, true);
|