1234567891011121314151617181920212223 |
- 'use strict';
- var $TypeError = require('es-errors/type');
- var inspect = require('object-inspect');
- var IsPropertyKey = require('./IsPropertyKey');
- module.exports = function GetV(V, P) {
-
- if (!IsPropertyKey(P)) {
- throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
- }
-
-
-
- return V[P];
- };
|