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