![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: Are JavaScript strings mutable?
From: Alexis Nikichine <alexis.nikichine@somedomain.fr>
Date: Thu Apr 20 2006 - 19:03:24 CEST
VK wrote:
Just taking a guess, let's imagine, for instance, that some clever
var a, b;
there's no way you can modify both a and b in a single statement. Let me
a+= "er";
So the things behave as if a new string is created out of the one that a
Of course implementations are not required internally to alias identical
Interestingly, I tried to mutate a String object (not a javascript
Cheers,
Alexis
-- some domain is freeReceived on Mon May 1 05:11:05 2006 |