Y
Hacker News
new
|
ask
|
show
|
jobs
by
Waterluvian
755 days ago
If I want to roll it by hand and not use a minifier, is there a code golf dictionary of patterns for javascript?
2 comments
lifthrasiir
755 days 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.
link
juliusgeo
755 days ago
best place is the code.golf wiki:
https://code.golf/wiki/langs/javascript
. They also have tips for other languages.
link
Waterluvian
755 days ago
Aha this is exactly what I had hoped for. Thank you!
link