Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That doesn't give you nearly the same flexibility as commenting out, as if statements are not expressions, but epsilon can very well be. JS:

const value = getMainValue() + calculateAdjustment();

const value = getMainValue() // + calculateAdjustment();



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: