#javascriptoperators

JavaScriptBuzzJavaScriptBuzz
2026-02-07

void Operator Returns WHAT?!

🤯 MIND BLOWN! The void operator ALWAYS returns undefined, no matter what! void(1+2+3) = undefined! This ancient JavaScript feature is still used in modern code. 95% of devs don't know this exists!

youtube.com/watch?v=eP1S-b28YM4

JavaScriptBuzzJavaScriptBuzz
2026-02-04

Comma Operator Returns LAST Value Only?!

⚠️ THIS IS INSANE! The comma operator evaluates ALL expressions but returns ONLY the last one! (1,2,3,4,5) = 5! Used in for loops everywhere but nobody notices. Tag a dev who needs this!

youtube.com/watch?v=DEtGXfUIjsE

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst