summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_6/Promise/methods-non-enumerable.js
blob: 79c3563b280570c021dd80d46fb31b82b8a62ce4 (plain)
1
2
3
4
5
6
7
8
9
if (!this.Promise) {
    reportCompare(true,true);
    quit(0);
}

assertEq(Object.keys(Promise).length, 0);
assertEq(Object.keys(Promise.prototype).length, 0);

reportCompare(0, 0, "ok");