mirror of https://github.com/tc39/test262.git
Update test to include object and symbol
This commit is contained in:
parent
bb7585bdaf
commit
e9946587b9
|
@ -15,7 +15,9 @@ info: |
|
||||||
const toObjectResults = [
|
const toObjectResults = [
|
||||||
[true, new Boolean(true)],
|
[true, new Boolean(true)],
|
||||||
[42, new Number(42)],
|
[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.
|
// Test if ToObject is used to convert primitives to Objects.
|
||||||
|
|
Loading…
Reference in New Issue