diff options
Diffstat (limited to 'includes/external/school/node_modules/lodash/_mapToArray.js')
-rw-r--r-- | includes/external/school/node_modules/lodash/_mapToArray.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/includes/external/school/node_modules/lodash/_mapToArray.js b/includes/external/school/node_modules/lodash/_mapToArray.js deleted file mode 100644 index fe3dd53..0000000 --- a/includes/external/school/node_modules/lodash/_mapToArray.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Converts `map` to its key-value pairs. - * - * @private - * @param {Object} map The map to convert. - * @returns {Array} Returns the key-value pairs. - */ -function mapToArray(map) { - var index = -1, - result = Array(map.size); - - map.forEach(function(value, key) { - result[++index] = [key, value]; - }); - return result; -} - -module.exports = mapToArray; |