Unexpected Implications
Let’s learn about some surprising implications of using const.
We'll cover the following
Classes become not assignable
Unfortunately, there are some surprising implications of using const
. The first is that classes with const
members are not assignable:
Get hands-on with 1400+ tech skills courses.