source: imaps-frontend/node_modules/@babel/runtime/helpers/setFunctionName.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 415 bytes
Line 
1var _typeof = require("./typeof.js")["default"];
2function setFunctionName(e, t, n) {
3 "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : "");
4 try {
5 Object.defineProperty(e, "name", {
6 configurable: !0,
7 value: n ? n + " " + t : t
8 });
9 } catch (e) {}
10 return e;
11}
12module.exports = setFunctionName, module.exports.__esModule = true, module.exports["default"] = module.exports;
Note: See TracBrowser for help on using the repository browser.