Chalarangelo/30-seconds-of-code
View on GitHub ↗ ★ 129,393 JavaScript
Coding articles to level up your development skills
17 mentions on Hacker News by 17 people: 13 stories, 4 comments · first 2017-12-11 · latest 2025-06-23
20082026
-
Sometimes there's an important link in Github project description example: https://github.com/30-seconds/30-seconds-of-code -> https://www.30secondsofcode.org/js/p/1 , but project-awesome is missing it…
comment by 11235813213455 · 2021-04-25 · in Curated List of Lists -
…Arrays[1] snippet is O(n^2), but you could make it much more performant for many data types. [1] https://github.com/Chalarangelo/30-seconds-of-code#differenc...
comment by thephyber · 2017-12-11 · in 30 seconds of code: Curated list of useful JavaScript snippets -
…"1" and "8" values aren't special. That would let you replace the /[018]/ with just /0/ too. [1]: https://github.com/Chalarangelo/30-seconds-of-code/blob/mast...
comment by koolba · 2017-12-11 · in 30 seconds of code: Curated list of useful JavaScript snippets -
…on the syntax. But what does the underscore and the use of the fat arrow mean in this context? https://github.com/Chalarangelo/30-seconds-of-code#current-u... > Use window.location.href to get current URL. var currentUrl = _ =>…
comment by danso · 2017-12-11 · in 30 seconds of code: Curated list of useful JavaScript snippets