mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Comma and whitespace nits. [ci skip]
This commit is contained in:
@@ -4612,7 +4612,7 @@
|
||||
}
|
||||
|
||||
/**
|
||||
* Iterates over elements of `collection` returning an array of all elements
|
||||
* Iterates over elements of `collection`, returning an array of all elements
|
||||
* the predicate returns truthy for. The predicate is bound to `thisArg` and
|
||||
* invoked with three arguments; (value, index|key, collection).
|
||||
*
|
||||
@@ -4903,7 +4903,7 @@
|
||||
});
|
||||
|
||||
/**
|
||||
* Invokes the method named by `methodName` on each element in the collection
|
||||
* Invokes the method named by `methodName` on each element in the collection,
|
||||
* returning an array of the results of each invoked method. Additional arguments
|
||||
* is provided to each invoked method. If `methodName` is a function it is
|
||||
* invoked for, and `this` bound to, each element in the collection.
|
||||
|
||||
@@ -387,7 +387,7 @@
|
||||
setProperty(Number, 'isFinite', _.noop);
|
||||
|
||||
var _contains = stringProto.contains;
|
||||
setProperty(stringProto, 'contains', _contains ? _.noop : Boolean);
|
||||
setProperty(stringProto, 'contains', _contains ? _.noop : Boolean);
|
||||
|
||||
var _ArrayBuffer = ArrayBuffer;
|
||||
setProperty(root, 'ArrayBuffer', (function() {
|
||||
@@ -827,7 +827,7 @@
|
||||
var args = arguments;
|
||||
|
||||
test('should return `undefined` for nonexistent keys', 1, function() {
|
||||
var actual = _.at(['a', 'b', 'c'], [2, 4, 0]);
|
||||
var actual = _.at(['a', 'b', 'c'], [2, 4, 0]);
|
||||
deepEqual(actual, ['c', undefined, 'a']);
|
||||
});
|
||||
|
||||
@@ -8438,7 +8438,7 @@
|
||||
});
|
||||
|
||||
test('should return `undefined` for nonexistent keys', 2, function() {
|
||||
var array = ['a', 'b', 'c'],
|
||||
var array = ['a', 'b', 'c'],
|
||||
actual = _.pullAt(array, [2, 4, 0]);
|
||||
|
||||
deepEqual(array, ['b']);
|
||||
|
||||
Reference in New Issue
Block a user