summaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/toPropertyKey.js')
-rw-r--r--node_modules/@babel/runtime/helpers/esm/toPropertyKey.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js b/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
index 0fcc93b3..dbbe92bd 100644
--- a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
+++ b/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
@@ -1,6 +1,6 @@
import _typeof from "./typeof.js";
import toPrimitive from "./toPrimitive.js";
-export default function _toPropertyKey(arg) {
- var key = toPrimitive(arg, "string");
- return _typeof(key) === "symbol" ? key : String(key);
+export default function toPropertyKey(t) {
+ var i = toPrimitive(t, "string");
+ return "symbol" == _typeof(i) ? i : String(i);
} \ No newline at end of file