home.social

#variablehoisting — Public Fediverse posts

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

fetched live
  1. typeof Works in Temporal Dead Zone?!

    Temporal Dead Zone has a LOOPHOLE! typeof works on undeclared variables (returns undefined) but throws ReferenceError for let/const. This inconsistency is INSANE!

    #javascript #javascripttricks #tdz #temporaldeadzone #typeof #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #variablehoisting #advancedjavascript

    youtube.com/watch?v=cAQaqNwFUL0

Share on Mastodon

Enter the server where you have an account.