Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2015/StringGetIndexProperty.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var callBound = require('call-b ind/callBound');3 var callBound = require('call-bound'); 4 4 5 5 var $TypeError = require('es-errors/type'); … … 8 8 9 9 var isString = require('is-string'); 10 var isNegativeZero = require(' is-negative-zero');10 var isNegativeZero = require('math-intrinsics/isNegativeZero'); 11 11 var unbox = require('unbox-primitive'); 12 12 13 13 var CanonicalNumericIndexString = require('./CanonicalNumericIndexString'); 14 14 var IsInteger = require('./IsInteger'); 15 var IsPropertyKey = require('./IsPropertyKey');15 var isPropertyKey = require('../helpers/isPropertyKey'); 16 16 17 17 // https://262.ecma-international.org/6.0/#sec-stringgetindexproperty … … 21 21 throw new $TypeError('Assertion failed: `S` must be a boxed String Object'); 22 22 } 23 if (! IsPropertyKey(P)) {23 if (!isPropertyKey(P)) { 24 24 throw new $TypeError('Assertion failed: `P` must be a Property Key'); 25 25 }
Note:
See TracChangeset
for help on using the changeset viewer.