summaryrefslogtreecommitdiffstats
path: root/node_modules/es-abstract/2019/thisStringValue.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es-abstract/2019/thisStringValue.js')
-rw-r--r--node_modules/es-abstract/2019/thisStringValue.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/es-abstract/2019/thisStringValue.js b/node_modules/es-abstract/2019/thisStringValue.js
deleted file mode 100644
index 3b99b6e..0000000
--- a/node_modules/es-abstract/2019/thisStringValue.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-var $StringValueOf = require('../helpers/callBound')('String.prototype.valueOf');
-
-var Type = require('./Type');
-
-// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object
-
-module.exports = function thisStringValue(value) {
- if (Type(value) === 'String') {
- return value;
- }
-
- return $StringValueOf(value);
-};