A (somewhat simple) way to generate a unique identifier for any value.
At minimum, the hashes created by this method should be stable within the bounds
of a single process. Primitive values, and POJOs / arrays with primitives should
be stable indefinitely. More complex structures - Maps, HTMLElements, etc. - cannot
be relied on to generate the same hash across multiple processes.
A (somewhat simple) way to generate a unique identifier for any value.
At minimum, the hashes created by this method should be stable within the bounds of a single process. Primitive values, and POJOs / arrays with primitives should be stable indefinitely. More complex structures - Maps, HTMLElements, etc. - cannot be relied on to generate the same hash across multiple processes.