mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
docs done -- going back to code comments
This commit is contained in:
@@ -40,7 +40,7 @@ $(document).ready(function() {
|
||||
test('arrays: zip', function() {
|
||||
var names = ['moe', 'larry', 'curly'], ages = [30, 40, 50], leaders = [true];
|
||||
var stooges = _.zip(names, ages, leaders);
|
||||
equals(_.toString(stooges), 'moe,30,true,larry,40,,curly,50,', 'zipped together arrays of different lengths');
|
||||
equals(String(stooges), 'moe,30,true,larry,40,,curly,50,', 'zipped together arrays of different lengths');
|
||||
});
|
||||
|
||||
test("arrays: indexOf", function() {
|
||||
|
||||
@@ -58,9 +58,5 @@ $(document).ready(function() {
|
||||
ok(_.isUndefined(), 'nothing is undefined');
|
||||
ok(_.isUndefined(undefined), 'undefined is undefined');
|
||||
});
|
||||
|
||||
test("objects: toString", function() {
|
||||
equals(_.toString([1, 2, 3]), '1,2,3', 'object can be converted to printable strings');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user