eb42936b7f3912a7d3c6bade099528f6.json
1.18 KB
{"ast":null,"code":"function omit(obj, fields) {\n // eslint-disable-next-line prefer-object-spread\n var shallowCopy = Object.assign({}, obj);\n\n for (var i = 0; i < fields.length; i += 1) {\n var key = fields[i];\n delete shallowCopy[key];\n }\n\n return shallowCopy;\n}\n\nexport default omit;","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/omit.js/es/index.js"],"names":["omit","obj","fields","shallowCopy","Object","assign","i","length","key"],"mappings":"AAAA,SAASA,IAAT,CAAcC,GAAd,EAAmBC,MAAnB,EAA2B;AACzB;AACA,MAAIC,WAAW,GAAGC,MAAM,CAACC,MAAP,CAAc,EAAd,EAAkBJ,GAAlB,CAAlB;;AAEA,OAAK,IAAIK,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGJ,MAAM,CAACK,MAA3B,EAAmCD,CAAC,IAAI,CAAxC,EAA2C;AACzC,QAAIE,GAAG,GAAGN,MAAM,CAACI,CAAD,CAAhB;AACA,WAAOH,WAAW,CAACK,GAAD,CAAlB;AACD;;AAED,SAAOL,WAAP;AACD;;AAED,eAAeH,IAAf","sourcesContent":["function omit(obj, fields) {\n // eslint-disable-next-line prefer-object-spread\n var shallowCopy = Object.assign({}, obj);\n\n for (var i = 0; i < fields.length; i += 1) {\n var key = fields[i];\n delete shallowCopy[key];\n }\n\n return shallowCopy;\n}\n\nexport default omit;"]},"metadata":{},"sourceType":"module"}