The hash includes the value's typeof so distinct falsy primitives don't
collide (0 ≠ false ≠ null ≠ undefined ≠ ''). Values that
JSON.stringify can't represent (functions, symbols, plain undefined) are
still distinguished from one another via their typeof tag.
Generates a 32-bit hash of the given value.
The hash includes the value's
typeofso distinct falsy primitives don't collide (0≠false≠null≠undefined≠''). Values thatJSON.stringifycan't represent (functions, symbols, plainundefined) are still distinguished from one another via theirtypeoftag.