Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2022/CreateRegExpStringIterator.js
r0c6b92a r79a0317 16 16 var ToLength = require('./ToLength'); 17 17 var ToString = require('./ToString'); 18 var Type = require('./Type'); 18 19 var isObject = require('../helpers/isObject'); 19 20 20 21 var SLOT = require('internal-slot'); … … 44 45 var RegExpStringIteratorNext = function next() { 45 46 var O = this; // eslint-disable-line no-invalid-this 46 if ( Type(O) !== 'Object') {47 if (!isObject(O)) { 47 48 throw new $TypeError('receiver must be an object'); 48 49 }
Note:
See TracChangeset
for help on using the changeset viewer.