Skip to content

Commit a795662

Browse files
committed
test for complete property descriptor support
1 parent e9ce140 commit a795662

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/unit/es6/canary.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// older browsers.
33
`I load on ES6`;
44

5+
if (!Object.getOwnPropertyDescriptors) {
6+
throw new Error('Incomplete property descriptor support');
7+
}
8+
59
module.exports = function usesRestArgs (...args) {
610
return args;
711
};

0 commit comments

Comments
 (0)