Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2015/IsRegExp.js
r0c6b92a r79a0317 9 9 var ToBoolean = require('./ToBoolean'); 10 10 11 var isObject = require('../helpers/isObject'); 12 11 13 // https://262.ecma-international.org/6.0/#sec-isregexp 12 14 13 15 module.exports = function IsRegExp(argument) { 14 if (! argument || typeof argument !== 'object') {16 if (!isObject(argument)) { 15 17 return false; 16 18 }
Note:
See TracChangeset
for help on using the changeset viewer.