javascript quiz 

is `-(a + b)` always the same value as `-a + -b`?

counterexample re: javascript quiz 

@Lady a = -b

counterexample re: javascript quiz 

@Lady would not have known this before hehe

Follow

counterexample re: javascript quiz 

@alyssa yeah i was trying to figure out if `$ + 0` was the fastest and easiest way to coerce `$` to never have negative zero (it is) and then i thought about it some more

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.