a8acb363e4870f98151b37fb3d1b9328.json
1.4 KB
{"ast":null,"code":"/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n map.forEach(function (value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/lodash/_mapToArray.js"],"names":["mapToArray","map","index","result","Array","size","forEach","value","key","module","exports"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,UAAT,CAAoBC,GAApB,EAAyB;AACvB,MAAIC,KAAK,GAAG,CAAC,CAAb;AAAA,MACIC,MAAM,GAAGC,KAAK,CAACH,GAAG,CAACI,IAAL,CADlB;AAGAJ,EAAAA,GAAG,CAACK,OAAJ,CAAY,UAASC,KAAT,EAAgBC,GAAhB,EAAqB;AAC/BL,IAAAA,MAAM,CAAC,EAAED,KAAH,CAAN,GAAkB,CAACM,GAAD,EAAMD,KAAN,CAAlB;AACD,GAFD;AAGA,SAAOJ,MAAP;AACD;;AAEDM,MAAM,CAACC,OAAP,GAAiBV,UAAjB","sourcesContent":["/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n"]},"metadata":{},"sourceType":"script"}