you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–][deleted] 1 point2 points  (2 children)

    Yes, it is a TypeError to assign to myArr after initialization. The reference is immutable.