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