Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Strings are immutable

let a = 'hello';
a[0] = 'H';
console.log(a); // "hello"
 
PREVIOUS NEXT
Tagged: #JavaScript #Strings #immutable
ADD COMMENT
Topic
Name
2+2 =