Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
_.has vs hasOwnProperty.bind vs hasOwnProperty.call
(version: 0)
Comparing performance of:
_.has vs hasOwnProperty.bind vs hasOwnProperty.call vs hasOwnProperty
Created:
3 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var person = { name: 'Tyler', lastName: 'Joseph' };
Tests:
_.has
_.has(person, 'name');
hasOwnProperty.bind
Object.hasOwnProperty.bind(person)('name');
hasOwnProperty.call
Object.hasOwnProperty.call(person, 'name');
hasOwnProperty
person.hasOwnProperty('name');
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
_.has
hasOwnProperty.bind
hasOwnProperty.call
hasOwnProperty
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
undefined vs. hasOwnProperty
Lohash _.has vs JS native hasOwnProperty
hasOwnProperty vs hasOwnProperty .call
Lodash has vs hasOwnProperty.bind
Comments
Confirm delete:
Do you really want to delete benchmark?