Message from JavaScript discussions

November 2018

— Integer flags may be used to merge several boolean flags.. no speed difference in js


Like, if you have recursive function that returns flag, you can return integer and just add it to the result

— Firefox beats Chrome :P

— But ehhh

— I'm pretty sure this test shouldn't work

— JS engine could figure out that this expression doesn't do anything and just sort of... skip it

— For every iteration

— So it's skipped always

— Essentially an empty test

— Ill create another..

— If it's true, just add one to an integer

— That should be fine