|
|
|
|
|
by Buttons840
628 days ago
|
|
That's a pile of tricks, not a mental model though. A mental model might be something like "JavaScript has strict and non-strict comparisons", but there are no strict less-than comparisons for example, so remembering to use === instead of == is just a one-off neat tip rather than an application of some more general rule. |
|