Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2024/RegExpHasFlag.js
r0c6b92a r79a0317 2 2 3 3 var GetIntrinsic = require('get-intrinsic'); 4 var callBound = require('call-b ind/callBound');4 var callBound = require('call-bound'); 5 5 6 6 var $TypeError = require('es-errors/type'); … … 8 8 9 9 var SameValue = require('./SameValue'); 10 var Type = require('./Type'); 10 11 var isObject = require('../helpers/isObject'); 11 12 12 13 var $indexOf = callBound('String.prototype.indexOf'); … … 22 23 } 23 24 24 if ( Type(R) !== 'Object') {25 if (!isObject(R)) { 25 26 throw new $TypeError('Assertion failed: Type(R) is not Object'); 26 27 }
Note:
See TracChangeset
for help on using the changeset viewer.