Update checked-in dependencies
This commit is contained in:
parent
1afca056e3
commit
6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions
4
node_modules/es-abstract/2023/thisStringValue.js
generated
vendored
4
node_modules/es-abstract/2023/thisStringValue.js
generated
vendored
|
|
@ -2,12 +2,10 @@
|
|||
|
||||
var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf');
|
||||
|
||||
var Type = require('./Type');
|
||||
|
||||
// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object
|
||||
|
||||
module.exports = function thisStringValue(value) {
|
||||
if (Type(value) === 'String') {
|
||||
if (typeof value === 'string') {
|
||||
return value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue