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:
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user