mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
Git update
This commit is contained in:
parent
bd8d7eedb6
commit
602ca1128e
3123 changed files with 521005 additions and 521005 deletions
44
node_modules/lodash/initial.js
generated
vendored
44
node_modules/lodash/initial.js
generated
vendored
|
@ -1,22 +1,22 @@
|
|||
var baseSlice = require('./_baseSlice');
|
||||
|
||||
/**
|
||||
* Gets all but the last element of `array`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.1.0
|
||||
* @category Array
|
||||
* @param {Array} array The array to query.
|
||||
* @returns {Array} Returns the slice of `array`.
|
||||
* @example
|
||||
*
|
||||
* _.initial([1, 2, 3]);
|
||||
* // => [1, 2]
|
||||
*/
|
||||
function initial(array) {
|
||||
var length = array == null ? 0 : array.length;
|
||||
return length ? baseSlice(array, 0, -1) : [];
|
||||
}
|
||||
|
||||
module.exports = initial;
|
||||
var baseSlice = require('./_baseSlice');
|
||||
|
||||
/**
|
||||
* Gets all but the last element of `array`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.1.0
|
||||
* @category Array
|
||||
* @param {Array} array The array to query.
|
||||
* @returns {Array} Returns the slice of `array`.
|
||||
* @example
|
||||
*
|
||||
* _.initial([1, 2, 3]);
|
||||
* // => [1, 2]
|
||||
*/
|
||||
function initial(array) {
|
||||
var length = array == null ? 0 : array.length;
|
||||
return length ? baseSlice(array, 0, -1) : [];
|
||||
}
|
||||
|
||||
module.exports = initial;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue