diff options
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js')
-rw-r--r-- | alarm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js b/alarm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js new file mode 100644 index 0000000..0fcc93b --- /dev/null +++ b/alarm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js @@ -0,0 +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); +}
\ No newline at end of file |