Changeset 79a0317 for imaps-frontend/node_modules/es-abstract/2015/GetV.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2015/GetV.js
r0c6b92a r79a0317 5 5 var inspect = require('object-inspect'); 6 6 7 var IsPropertyKey = require('./IsPropertyKey');7 var isPropertyKey = require('../helpers/isPropertyKey'); 8 8 // var ToObject = require('./ToObject'); 9 9 … … 12 12 module.exports = function GetV(V, P) { 13 13 // 7.3.2.1 14 if (! IsPropertyKey(P)) {15 throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));14 if (!isPropertyKey(P)) { 15 throw new $TypeError('Assertion failed: P is not a Property Key, got ' + inspect(P)); 16 16 } 17 17
Note:
See TracChangeset
for help on using the changeset viewer.