mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -14,7 +14,7 @@ const nativeReverse = Array.prototype.reverse;
|
||||
* @returns {Array} Returns `array`.
|
||||
* @example
|
||||
*
|
||||
* var array = [1, 2, 3];
|
||||
* const array = [1, 2, 3];
|
||||
*
|
||||
* reverse(array);
|
||||
* // => [3, 2, 1]
|
||||
|
||||
Reference in New Issue
Block a user