Hacker News new | past | comments | ask | show | jobs | submit login

Why? What's the problem?

const improves readability, and the ability to reason about code. It lessens the need to exhaustively scan the code looking for other assignments to the variable.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: