summaryrefslogtreecommitdiffstats
path: root/node_modules/es-abstract/2017/ToPropertyKey.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es-abstract/2017/ToPropertyKey.js')
-rw-r--r--node_modules/es-abstract/2017/ToPropertyKey.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/es-abstract/2017/ToPropertyKey.js b/node_modules/es-abstract/2017/ToPropertyKey.js
deleted file mode 100644
index 38f40dd..0000000
--- a/node_modules/es-abstract/2017/ToPropertyKey.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-var GetIntrinsic = require('../GetIntrinsic');
-
-var $String = GetIntrinsic('%String%');
-
-var ToPrimitive = require('./ToPrimitive');
-var ToString = require('./ToString');
-
-// https://www.ecma-international.org/ecma-262/6.0/#sec-topropertykey
-
-module.exports = function ToPropertyKey(argument) {
- var key = ToPrimitive(argument, $String);
- return typeof key === 'symbol' ? key : ToString(key);
-};