aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/@babel/runtime/helpers/setFunctionName.js
blob: 9664076a861f6fd4516d124a32924ed7eeccccee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
var _typeof = require("./typeof.js")["default"];
function setFunctionName(e, t, n) {
  "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : "");
  try {
    Object.defineProperty(e, "name", {
      configurable: !0,
      value: n ? n + " " + t : t
    });
  } catch (e) {}
  return e;
}
module.exports = setFunctionName, module.exports.__esModule = true, module.exports["default"] = module.exports;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage