UNPKG
has
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.1
Object.prototype.hasOwnProperty.call shortcut
github.com/tarruda/has
tarruda/has
has
/
src
/
index.js
9 lines
(6 loc)
•
212 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
var
hasOwnProperty = {}.
hasOwnProperty
;
var
call =
Function
.
prototype
.
call
;
module
.
exports
= call.
bind
? call.
bind
(hasOwnProperty) :
function
(
O, P
) {
return
call.
call
(hasOwnProperty, O, P); };