Open purushothaman-source opened 1 year ago
https://blog.webdevsimplified.com/2021-03/js-reference-vs-value/
const a = [1, 2] function addElement(array, element) { array.push(element) } addElement(a, 3) console.log(a) // [1, 2, 3]
Blog
https://blog.webdevsimplified.com/2021-03/js-reference-vs-value/
Videos