I was describing some of the semantics of reference types earlier, and that reminded me of one of the first questions I was ever asked about reference semantics.
Pop quiz: Are JavaScript strings passed by reference (like objects) or by value (like numbers)?
I’ll post the answer tomorrow.
Pingback: Porting old posts, part 1 | Fabulous adventures in coding