zakariyesahid96Feb 2, 20221 min readArrays and constUpdated: Mar 14, 2022Values can change as long as reference remain the same.If you try set a new reference it won't work.For example constNums=['1','2','3']nums.push(4)Nums=[1,2,3,4]To add in an extra point, nested arrays can store arrays in other arrays.
Values can change as long as reference remain the same.If you try set a new reference it won't work.For example constNums=['1','2','3']nums.push(4)Nums=[1,2,3,4]To add in an extra point, nested arrays can store arrays in other arrays.
Comments