mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Test cloning date objects.
This commit is contained in:
@@ -2208,14 +2208,15 @@
|
|||||||
'array-like-objects': { '0': 'a', '1': '', 'length': 3 },
|
'array-like-objects': { '0': 'a', '1': '', 'length': 3 },
|
||||||
'booleans': false,
|
'booleans': false,
|
||||||
'boolean objects': Object(false),
|
'boolean objects': Object(false),
|
||||||
|
'date objects': new Date,
|
||||||
'Foo instances': new Foo,
|
'Foo instances': new Foo,
|
||||||
'objects': { 'a': 0, 'b': 1, 'c': 3 },
|
'objects': { 'a': 0, 'b': 1, 'c': 2 },
|
||||||
'objects with object values': { 'a': /a/, 'b': ['B'], 'c': { 'C': 1 } },
|
'objects with object values': { 'a': /a/, 'b': ['B'], 'c': { 'C': 1 } },
|
||||||
'objects from another document': realm.object || {},
|
'objects from another document': realm.object || {},
|
||||||
'maps': map,
|
'maps': map,
|
||||||
'null values': null,
|
'null values': null,
|
||||||
'numbers': 3,
|
'numbers': 0,
|
||||||
'number objects': Object(3),
|
'number objects': Object(0),
|
||||||
'regexes': /a/gim,
|
'regexes': /a/gim,
|
||||||
'sets': set,
|
'sets': set,
|
||||||
'strings': 'a',
|
'strings': 'a',
|
||||||
|
|||||||
Reference in New Issue
Block a user