re: Master value vs reference in JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Primitives really might be assigned by reference, especially strings. Maybe you have confused JavaScript and Java semantics? JavaScript doesn't r...
 

I know I'm not using correct terminology, but I think the way I've explained it is easiest for someone who has very little programming knowledge to understand. Although it's technically not correct it explains the behavior of JavaScript with a simple model.

code of conduct - report abuse