3 ms·
If I want to roll it by hand and not use a minifier, is there a code golf dictionary of patterns for javascript?
by Waterluvian 2y ago
If I want to roll it by hand and not use a minifier, is there a code golf dictionary of patterns for javascript?
- lifthrasiir 2y agoOf 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 agobest place is the code.golf wiki: https://code.golf/wiki/langs/javascript https://code.golf/wiki/langs/javascript. They also have tips for other languages.
- Waterluvian 2y agoAha this is exactly what I had hoped for. Thank you!