#javascriptreliab — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #javascriptreliab, aggregated by home.social.
-
Why does this JavaScript optional chaining hide the bug?
Why does this JavaScript optional chaining hide the bug in a form. The JavaScript code uses optional chaining when the value could be zero. In JavaScript 0 is valid but optional chaining skips it.
#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliab...
-
What's wrong with this JavaScript typeof null?
What's wrong with this JavaScript typeof null returning object. The JavaScript code checks typeof before accessing properties. In JavaScript validation this lets null through and crashes on property access.
#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliab...