demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/lodash-4.17.20/reverse.js

Path
demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/lodash-4.17.20/reverse.js
Status
scanned
Type
file
Name
reverse.js
Extension
.js
Programming language
JavaScript
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
844 (844 bytes)
MD5
7d8d52d052921b54be2b4744b11a135c
SHA1
09f86bfe19d080bb52606967a9df5f017333e963
SHA256
74932b47ecbb57a169957934b3e60b0d2674dc7c7c3d47724d2fc718c7cc8835
SHA512

      
    
SHA1_git
21764afd665b80816f58e525ce30846ef5578ea6
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
reverse.js | 844 bytes |

/** Used for built-in method references. */ var arrayProto = Array.prototype; /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeReverse = arrayProto.reverse; /** * Reverses `array` so that the first element becomes the last, the second * element becomes the second to last, and so on. * * **Note:** This method mutates `array` and is based on * [`Array#reverse`](https://mdn.io/Array/reverse). * * @static * @memberOf _ * @since 4.0.0 * @category Array * @param {Array} array The array to modify. * @returns {Array} Returns `array`. * @example * * var array = [1, 2, 3]; * * _.reverse(array); * // => [3, 2, 1] * * console.log(array); * // => [3, 2, 1] */ function reverse(array) { return array == null ? array : nativeReverse.call(array); } module.exports = reverse;
URL Start line End line
https://mdn.io/Array/reverse 12 12
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript