UNPKG

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