mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -13,8 +13,8 @@ import copyArray from './.internal/copyArray.js';
|
||||
* @returns {Array} Returns the new concatenated array.
|
||||
* @example
|
||||
*
|
||||
* var array = [1];
|
||||
* var other = concat(array, 2, [3], [[4]]);
|
||||
* const array = [1];
|
||||
* const other = concat(array, 2, [3], [[4]]);
|
||||
*
|
||||
* console.log(other);
|
||||
* // => [1, 2, 3, [4]]
|
||||
|
||||
Reference in New Issue
Block a user