Are JScript strings passed by value or by reference?

Are JScript strings passed by value or by reference?

  • Comments 1

  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 JScript strings passed by reference (like JScript objects) or by value (like JScript numbers)?

 

I'll post the answer tomorrow.

 

  • 2003/09/12 What's Up With Hungarian Notation? 2003/09/12 Eric's Complete Guide To BSTR Semantics 2003/09/12...
Page 1 of 1 (1 items)