Hacker News new | ask | show | jobs
by ketzo 1711 days ago
Wow, the fact that `as const` has such a meaningful difference from a variable declared as `const` seems... not great.

Surely they could have gone with, like, `final` or `immutable` instead..? I'm sure they had their reasons. But seems rough.