a9d09dbe63dbc750c7f6de391acf9a65.json
1.71 KB
{"ast":null,"code":"var anObject = require('../internals/an-object');\n\nvar isObject = require('../internals/is-object');\n\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/core-js-pure/internals/promise-resolve.js"],"names":["anObject","require","isObject","newPromiseCapability","module","exports","C","x","constructor","promiseCapability","f","resolve","promise"],"mappings":"AAAA,IAAIA,QAAQ,GAAGC,OAAO,CAAC,wBAAD,CAAtB;;AACA,IAAIC,QAAQ,GAAGD,OAAO,CAAC,wBAAD,CAAtB;;AACA,IAAIE,oBAAoB,GAAGF,OAAO,CAAC,qCAAD,CAAlC;;AAEAG,MAAM,CAACC,OAAP,GAAiB,UAAUC,CAAV,EAAaC,CAAb,EAAgB;AAC/BP,EAAAA,QAAQ,CAACM,CAAD,CAAR;AACA,MAAIJ,QAAQ,CAACK,CAAD,CAAR,IAAeA,CAAC,CAACC,WAAF,KAAkBF,CAArC,EAAwC,OAAOC,CAAP;AACxC,MAAIE,iBAAiB,GAAGN,oBAAoB,CAACO,CAArB,CAAuBJ,CAAvB,CAAxB;AACA,MAAIK,OAAO,GAAGF,iBAAiB,CAACE,OAAhC;AACAA,EAAAA,OAAO,CAACJ,CAAD,CAAP;AACA,SAAOE,iBAAiB,CAACG,OAAzB;AACD,CAPD","sourcesContent":["var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n"]},"metadata":{},"sourceType":"script"}