mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
lodash: Add sections to README.md. [jddalton]
Former-commit-id: f3db95e12ddb790ca33229aa3333507b184c6e4a
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
|
||||
test('should call custom `toArray` method of an array', function() {
|
||||
var array = [1, 2, 3];
|
||||
array.toArray = function() { return [3, 2, 1] };
|
||||
array.toArray = function() { return [3, 2, 1]; };
|
||||
deepEqual(_.toArray(array), [3, 2, 1]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user