mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 14:37:49 +00:00
18 lines
393 B
JavaScript
18 lines
393 B
JavaScript
import nativeCreate from './_nativeCreate';
|
|
|
|
/** Used for built-in method references. */
|
|
var objectProto = Object.prototype;
|
|
|
|
/**
|
|
* Creates an hash object.
|
|
*
|
|
* @private
|
|
* @returns {Object} Returns the new hash object.
|
|
*/
|
|
function Hash() {}
|
|
|
|
// Avoid inheriting from `Object.prototype` when possible.
|
|
Hash.prototype = nativeCreate ? nativeCreate(null) : objectProto;
|
|
|
|
export default Hash;
|