UNPKG

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