3 lines
101 B
JavaScript
3 lines
101 B
JavaScript
export default function _has(prop, obj) {
|
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
} |