has.js 121 Bytes
Newer Older
1 2 3 4 5
var hasOwnProperty = {}.hasOwnProperty;

module.exports = function (it, key) {
  return hasOwnProperty.call(it, key);
};