home.social

#commaoperator — Public Fediverse posts

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

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

    #javascript #javascripttricks #codingchallenge #commaoperator #javascriptoperators #javascriptquiz #javascriptweird #javascriptwtf #forloops #codinginterview #javascriptshorts

    youtube.com/watch?v=DEtGXfUIjsE

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

    #javascript #javascripttricks #codingchallenge #commaoperator #javascriptoperators #javascriptquiz #javascriptweird #javascriptwtf #forloops #codinginterview #javascriptshorts

    youtube.com/watch?v=DEtGXfUIjsE

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

    #javascript #javascripttricks #codingchallenge #commaoperator #javascriptoperators #javascriptquiz #javascriptweird #javascriptwtf #forloops #codinginterview #javascriptshorts

    youtube.com/watch?v=DEtGXfUIjsE

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

    #javascript #javascripttricks #codingchallenge #commaoperator #javascriptoperators #javascriptquiz #javascriptweird #javascriptwtf #forloops #codinginterview #javascriptshorts

    youtube.com/watch?v=DEtGXfUIjsE

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

    #javascript #javascripttricks #codingchallenge #commaoperator #javascriptoperators #javascriptquiz #javascriptweird #javascriptwtf #forloops #codinginterview #javascriptshorts

    youtube.com/watch?v=DEtGXfUIjsE