home.social

#javascriptsecrets — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #javascriptsecrets, aggregated by home.social.

  1. 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!

    #javascript #javascripttricks #codingchallenge #voidoperator #javascriptoperators #javascriptquiz #javascriptweird #javascriptwtf #javascriptsecrets #codingtips #javascriptshorts

    youtube.com/watch?v=eP1S-b28YM4