summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/toPropertyKey.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/toPropertyKey.js')
-rw-r--r--school/node_modules/@babel/runtime/helpers/toPropertyKey.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/toPropertyKey.js b/school/node_modules/@babel/runtime/helpers/toPropertyKey.js
new file mode 100644
index 0000000..320bb2b
--- /dev/null
+++ b/school/node_modules/@babel/runtime/helpers/toPropertyKey.js
@@ -0,0 +1,7 @@
+var _typeof = require("./typeof.js")["default"];
+var toPrimitive = require("./toPrimitive.js");
+function _toPropertyKey(arg) {
+ var key = toPrimitive(arg, "string");
+ return _typeof(key) === "symbol" ? key : String(key);
+}
+module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file