Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

JavaScript Strings are immutable

let a = 'hello';
a[0] = 'H';
console.log(a); // "hello"
Comment

string immutable javascript

var statement = "I am an immutable value";
var otherStr = statement.slice(8, 17);
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript infinite while loop 
Javascript :: Passing a state as a prop in react 
Javascript :: how to check if an element is in array javascript 
Javascript :: every element in list after first javascript 
Javascript :: stringy 
Javascript :: multiple refs react 
Javascript :: $(...).Datatables is not a function 
Javascript :: form changes button enable reactive forms 
Javascript :: fill in javascript 
Javascript :: addeventlistener js 
Javascript :: node js crud operation 
Javascript :: window parent frame 
Javascript :: what is middleware in express js 
Javascript :: send request express 
Javascript :: open bootstrap modal using vanilla js 
Javascript :: match if 
Javascript :: airbnb react native eslint 
Javascript :: Format javascript date with date.js library 
Javascript :: array iterator javascript 
Javascript :: react navigation header title 
Javascript :: send json in javascript 
Javascript :: How to check if the text of a string includes the "str" you are looking for 
Javascript :: AJAX - The XMLHttpRequest Object 
Javascript :: react native time range picker 
Javascript :: crud with firestore 
Javascript :: get item in array from index 
Javascript :: login condition if and else in router dom of react jsx 
Javascript :: javascript Insert Item to Map 
Javascript :: js filter array 
Javascript :: Importing From Export Default Module 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =