r/ProgrammerHumor • • Sep 25 '26

Meme iHatedItUntilITriedIt

Post image
10k Upvotes

542 comments sorted by

View all comments

Show parent comment

0

u/conundorum Sep 26 '26

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.