Skip to content
Snippets Groups Projects
Commit e9946587 authored by Ujjwal Sharma's avatar Ujjwal Sharma Committed by Rick Waldron
Browse files

Update test to include object and symbol

parent bb7585bd
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment