Does the following result in a memory copy operation?
1: var foo, bar;
2: foo = 'abc';
3: bar = foo;
Is the memory representation of foo copied into the memory pointed at by bar on line 3?
Does this change if foo is a string 1 MB in size (unlike 6 bytes in this example)?
Finally, is this behavior defined by the ECMAScript specification or left to implementors?