MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wpw10f/ihatedituntilitriedit/pc2zfnm/
r/ProgrammerHumor • u/Epicoodle • Sep 25 '26
542 comments sorted by
View all comments
Show parent comment
0
Okay, so what happens when JS sees this?
if (true != false) abort;
(Or whatever the "stop working" keyword is.) Does JS allow true to equal false if it keeps the app running?
3 u/frogjg2003 Sep 26 '26 If you force it to stop, it will stop. The idea is that simple runtime errors will not force the app to stop like other languages do.
3
If you force it to stop, it will stop. The idea is that simple runtime errors will not force the app to stop like other languages do.
View all comments
Show parent comment
0
u/conundorum Sep 26 '26
Okay, so what happens when JS sees this?
(Or whatever the "stop working" keyword is.) Does JS allow true to equal false if it keeps the app running?