2 ms·
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,
by ketzo 5y 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.