helpers/RegExpStringIterator.js
function RegExpStringIterator(R, S, global, fullUnicode) {
	if (ES.Type(S) !== 'String') {
		throw new TypeError('S must be a string');
	}
	if (ES.Type(global) !== 'Boolean') {
		throw new TypeError('global must be a boolean');
	}
	if (ES.Type(fullUnicode) !== 'Boolean') {
		throw new TypeError('fullUnicode must be a boolean');
	}
	hidden.set(this, '[[IteratingRegExp]]', R);
	hidden.set(this, '[[IteratedString]]', S);
	hidden.set(this, '[[Global]]', global);
	hidden.set(this, '[[Unicode]]', fullUnicode);
	hidden.set(this, '[[Done]]', false);
}
function RegExpStringIterator(R, S, global, fullUnicode) {
	if (ES.Type(S) !== 'String') {
		throw new TypeError('S must be a string');
	}
	if (ES.Type(global) !== 'Boolean') {
		throw new TypeError('global must be a boolean');
	}
	if (ES.Type(fullUnicode) !== 'Boolean') {
		throw new TypeError('fullUnicode must be a boolean');
	}
	hidden.set(this, '[[IteratingRegExp]]', R);
	hidden.set(this, '[[IteratedString]]', S);
	hidden.set(this, '[[Global]]', global);
	hidden.set(this, '[[Unicode]]', fullUnicode);
	hidden.set(this, '[[Done]]', false);
}
function RegExpStringIterator ( R , S , global , fullUnicode ) { if ( ES . Type ( S ) !== 'String' ) { throw new TypeError ( 'S must be a string' ) ; } if ( ES . Type ( global ) !== 'Boolean' ) { throw new TypeError ( 'global must be a boolean' ) ; } if ( ES . Type ( fullUnicode ) !== 'Boolean' ) { throw new TypeError ( 'fullUnicode must be a boolean' ) ; } hidden . set ( this , '[[IteratingRegExp]]' , R ) ; hidden . set ( this , '[[IteratedString]]' , S ) ; hidden . set ( this , '[[Global]]' , global ) ; hidden . set ( this , '[[Unicode]]' , fullUnicode ) ; hidden . set ( this , '[[Done]]' , false ) ; }
eslint-disable-line no-shadow-restricted-names
eslint - disable - line no - shadow - restricted - names