mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Fix code style error and doc nit. [ci skip]
This commit is contained in:
committed by
John-David Dalton
parent
046470a8db
commit
08c7bf3c85
@@ -11528,7 +11528,7 @@
|
|||||||
* @category Object
|
* @category Object
|
||||||
* @param {Object} object The source object.
|
* @param {Object} object The source object.
|
||||||
* @param {...(string|string[])} [props] The property names to omit, specified
|
* @param {...(string|string[])} [props] The property names to omit, specified
|
||||||
* individually or in arrays..
|
* individually or in arrays.
|
||||||
* @returns {Object} Returns the new object.
|
* @returns {Object} Returns the new object.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -5626,7 +5626,7 @@
|
|||||||
|
|
||||||
assert.deepEqual(_.flatten(array), [[], [], [[[]]]]);
|
assert.deepEqual(_.flatten(array), [[], [], [[[]]]]);
|
||||||
assert.deepEqual(_.flattenDeep(array), []);
|
assert.deepEqual(_.flattenDeep(array), []);
|
||||||
assert.deepEqual(_.flattenDepth(array, 2), [[[]]])
|
assert.deepEqual(_.flattenDepth(array, 2), [[[]]]);
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('should support flattening of nested arrays', function(assert) {
|
QUnit.test('should support flattening of nested arrays', function(assert) {
|
||||||
|
|||||||
Reference in New Issue
Block a user