1
0
mirror of https://github.com/tc39/test262.git synced 2025-04-08 19:35:28 +02:00

Update test to include object and symbol

This commit is contained in:
Ujjwal Sharma 2018-09-29 07:26:42 +05:30 committed by Rick Waldron
parent bb7585bdaf
commit e9946587b9

@ -15,7 +15,9 @@ info: |
const toObjectResults = [
[true, new Boolean(true)],
[42, new Number(42)],
['foo', new String('foo')]
['foo', new String('foo')],
[{}, {}],
[Symbol(), Object(Symbol())]
];
// Test if ToObject is used to convert primitives to Objects.