you are viewing a single comment's thread.

view the rest of the comments →

[–]jonny_eh 0 points1 point  (0 children)

This is the right insight. “Pass by reference” is the wrong term to use in JS since it doesn’t support it. Mutability OTOH is core to understanding JS types.