Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Working of JavaScript Arrays

let arr = ['h', 'e'];
let arr1 = arr;
arr1.push('l');

console.log(arr); // ["h", "e", "l"]
console.log(arr1); // ["h", "e", "l"]
 
PREVIOUS NEXT
Tagged: #Working #JavaScript #Arrays
ADD COMMENT
Topic
Name
5+6 =