blob: b51e0a4abf795c0cf821a855cb842cc90e224b37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
load("test-common.js");
try {
assert(Object.length === 1);
assert(Object.name === "Object");
assert(Object.prototype.length === undefined);
assert(typeof Object() === "object");
assert(typeof new Object() === "object");
console.log("PASS");
} catch (e) {
console.log("FAIL: " + e);
}
|