#noneofthoseworldsareinthebible — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #noneofthoseworldsareinthebible, aggregated by home.social.
-
Okay so this works like this:
The
"" % 4is executed first. This is detected to be a math operation because of the %. Since "" is afalsyvalue it gets converted (coalesced) to 0. And the result of 0 % 4 is 0.Now for the second part we are doing
[0] + 0. Since[0]is an object (an array) the+operation is detected as "string concatenation". Now the string representation of[0]is0This is how we end with
"0" + 0which turns out to be00
Thanks for coming to me TED talk
#I-know #none-of-those-worlds-are-in-the-bible