Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Waterluvian
· 2y ago · 0 comments
If I want to roll it by hand and not use a minifier, is there a code golf dictionary of patterns for javascript?
Comments
[–]
lifthrasiir
2y ago
Of course, search for "js code golf tips" to start. Many tips equally apply to C and JS due to the syntatic similarity, though JS-specific idioms like x|0 exist as well.
[–]
juliusgeo
2y ago
best place is the code.golf wiki:
https://code.golf/wiki/langs/javascript
. They also have tips for other languages.
[–]
Waterluvian
OP
2y ago
Aha this is exactly what I had hoped for. Thank you!