aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/setFunctionName.js')
-rw-r--r--node_modules/@babel/runtime/helpers/esm/setFunctionName.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/setFunctionName.js b/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
new file mode 100644
index 0000000..82213ce
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/esm/setFunctionName.js
@@ -0,0 +1,12 @@
+import _typeof from "./typeof.js";
+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;
+}
+export { setFunctionName as default }; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage