mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Remove references to _.
This commit is contained in:
5
head.js
5
head.js
@@ -2,7 +2,6 @@
|
||||
* Gets the first element of `array`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.1.0
|
||||
* @alias first
|
||||
* @category Array
|
||||
@@ -10,10 +9,10 @@
|
||||
* @returns {*} Returns the first element of `array`.
|
||||
* @example
|
||||
*
|
||||
* _.head([1, 2, 3]);
|
||||
* head([1, 2, 3]);
|
||||
* // => 1
|
||||
*
|
||||
* _.head([]);
|
||||
* head([]);
|
||||
* // => undefined
|
||||
*/
|
||||
function head(array) {
|
||||
|
||||
Reference in New Issue
Block a user