home.social

#javascriptarray — Public Fediverse posts

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

  1. Array.map() IGNORES Empty Slots?!

    🤯 STOP! This will DESTROY your understanding of arrays! Empty slots vs undefined - they're NOT the same! .map() completely skips holes but processes undefined. This bug crashed a production app with 1M users!

    #javascript #javascripttricks #codingchallenge #javascriptarray #arrayholes #javascriptquiz #javascriptweird #javascriptwtf #arraymap #javascriptbugs #codinginterview #javascriptshorts

    youtube.com/watch?v=cwm9fdAlAB4

  2. Array.map() IGNORES Empty Slots?!

    🤯 STOP! This will DESTROY your understanding of arrays! Empty slots vs undefined - they're NOT the same! .map() completely skips holes but processes undefined. This bug crashed a production app with 1M users!

    #javascript #javascripttricks #codingchallenge #javascriptarray #arrayholes #javascriptquiz #javascriptweird #javascriptwtf #arraymap #javascriptbugs #codinginterview #javascriptshorts

    youtube.com/watch?v=cwm9fdAlAB4

  3. Array.map() IGNORES Empty Slots?!

    🤯 STOP! This will DESTROY your understanding of arrays! Empty slots vs undefined - they're NOT the same! .map() completely skips holes but processes undefined. This bug crashed a production app with 1M users!

    #javascript #javascripttricks #codingchallenge #javascriptarray #arrayholes #javascriptquiz #javascriptweird #javascriptwtf #arraymap #javascriptbugs #codinginterview #javascriptshorts

    youtube.com/watch?v=cwm9fdAlAB4