Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript string mutable

let a = b = "hello";
a = a + " world";
// b is not affected
 
PREVIOUS NEXT
Tagged: #javascript #string #mutable
ADD COMMENT
Topic
Name
1+3 =