Re:JavaScript Coercions Grid
by baddox on Saturday March 30, 2019 @01:21PM
(#19530584)
Using variables in Boolean expressions (to check whether the value exists) is the one place I (and probably most JS developers) use type coercion. Which can still bite you, especially if you have a zero that you expect to be considered a present value.
[ Parent
| on HN ]
There are no comments on this comment yet.