update docs

master
Conduitry 5 years ago
parent 5d0b1fceb1
commit 51fc73c0ed

@ -22,7 +22,7 @@ memoizedFunction(/* ... */)
Keying of primitives, arrays, regexes, dates, and buffers works according to their values. Any additional custom properties added to the objects will *not* be considered as part of the key. (More specifically, arrays are keyed according to their length and their elements, regexes and buffers are keyed according to their `.toString()`s, and dates are keyed according to their `.getTime()`s.)
Keying of POJOs works according to their (own) enumerable and non-enumerable property names and values, without regard to order. Symbolic keys and their values are not considered, due to the lack of a canonical ordering on symbols.
Keying of POJOs works according to their (own) enumerable and non-enumerable property names and values, without regard to order. Symbolic keys and their values are also part of the keying, but these *are* sensitive to order, due to the lack of a canonical ordering on symbols.
Other objects (those without a prototype of `Object.prototype`) are simply keyed according to their identity (i.e., `===`).

Loading…
Cancel
Save