fasttime / JScrewIt

Write any JavaScript with six characters: ! ( ) + [ ]
https://jscrew.it
ISC License
159 stars 12 forks source link

Better comment handling #36

Open claybiockiller opened 2 years ago

claybiockiller commented 2 years ago

Currently, only comments after short code with only one simple object (such as Boolean, number and string literal, one-element array or one-parameter functions) would be deleted, but otherwise code will be transformed with comment. I think the best way handling comments is unconditional deletion, but you can also create an option for toggling comments deletion just in case.