HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by jakobmi | Hacker News Reader
Full thread
jakobmi
·
What's the difference between initonly and const?
View on HN
arethuza
·
Const is fixed at compile time, it looks like initonly is like readonly but can be used outside of a constructor.
Reply on news.ycombinator.com