Skip to content
Myr

docs: Add referential equality to pitfalls (#731)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Add a section about referential equality to pitfalls, with the simple example of using `indexOf` on a draft array to match an element. Fixes #730

authored by Ian Storm Taylor · committed by GitHub · parent c21a2ef · Browse files · 1 file+19 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+19 added−0 removed

  • other:+19 added−0 removed

1 file+19 added−0 removed

modified:docs/pitfalls.md+19 added