diff options
Diffstat (limited to 'deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/flatten.js')
-rw-r--r-- | deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/flatten.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/flatten.js b/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/flatten.js deleted file mode 100644 index 4bf267f2ba..0000000000 --- a/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/flatten.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var isArray = Array.isArray, forEach = Array.prototype.forEach; - -module.exports = function flatten() { - var r = []; - forEach.call(this, function (x) { - if (isArray(x)) { - r = r.concat(flatten.call(x)); - } else { - r.push(x); - } - }); - return r; -}; |