es.reflect.has.js 233 B

123456789
  1. var $ = require('../internals/export');
  2. // `Reflect.has` method
  3. // https://tc39.es/ecma262/#sec-reflect.has
  4. $({ target: 'Reflect', stat: true }, {
  5. has: function has(target, propertyKey) {
  6. return propertyKey in target;
  7. }
  8. });