This benchmark compares the performance of lodash's `has` function with native JavaScript code for checking if an object has a specific property. The lodash `has` function checks if `path` is a direct property of `object`. The native JavaScript code uses the `in` operator to check if an object has a specific property.
Comparing performance of: lodash.has vs Native JavaScript
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory