Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2023/Invoke.js
r0c6b92a r79a0317 6 6 var IsArray = require('./IsArray'); 7 7 var GetV = require('./GetV'); 8 var IsPropertyKey = require('./IsPropertyKey');8 var isPropertyKey = require('../helpers/isPropertyKey'); 9 9 10 10 // https://262.ecma-international.org/6.0/#sec-invoke 11 11 12 12 module.exports = function Invoke(O, P) { 13 if (! IsPropertyKey(P)) {13 if (!isPropertyKey(P)) { 14 14 throw new $TypeError('Assertion failed: P must be a Property Key'); 15 15 }
Note:
See TracChangeset
for help on using the changeset viewer.