4 ms·
Imagine FTP-ing into the telescope to change some JS-files live, then just "refresh" and see what happens. They are probably using a simulator, and run tests be
by z3t4 8y ago
Imagine FTP-ing into the telescope to change some JS-files live, then just "refresh" and see what happens. They are probably using a simulator, and run tests before deploying the JS code. The tooling around JavaScript has come a long way, with type checkers, static analysis, code coverage, debugging, etc. The language itself is also very safe (hey, we are executing trustless JS in the browser). What do you mean by weird quirks ? The only thing that still annoys me are float's.
- _bxg1 8y ago> What do you mean by weird quirks ? - undefined vs null vs empty - the pile of weirdness that is == - the other pile of weirdness that is implicit truthiness/falsyness - NaN's many fun qualities https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat
- z3t4 8y agoOhh yeh, I think the equality table is just something you have to learn, like a chemist learn the periodic table. I make use of null==undefined a lot and prefer it over thruthy/falsy. I try to avoid NaN but sometimes use isNaN(nr)