Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2018/IsSharedArrayBuffer.js
r0c6b92a r79a0317 3 3 var $TypeError = require('es-errors/type'); 4 4 5 var Type = require('./Type');5 var isObject = require('../helpers/isObject'); 6 6 7 7 var isSharedArrayBuffer = require('is-shared-array-buffer'); … … 10 10 11 11 module.exports = function IsSharedArrayBuffer(obj) { 12 if ( Type(obj) !== 'Object') {12 if (!isObject(obj)) { 13 13 throw new $TypeError('Assertion failed: Type(O) is not Object'); 14 14 }
Note:
See TracChangeset
for help on using the changeset viewer.