A function that gives each value the primitive key it should be found by, for a hashed
collection's key option. Keys compare with SameValueZero, like native Map keys.
The key is derived once when a value is stored; it is not derived again if the value changes
later. Returning an object or a function is an error, because a new object on each call could
never match a stored one.
A function that gives each value the primitive key it should be found by, for a hashed collection's
keyoption. Keys compare with SameValueZero, like nativeMapkeys.The key is derived once when a value is stored; it is not derived again if the value changes later. Returning an object or a function is an error, because a new object on each call could never match a stored one.