top of page
Search
zakariyesahid96

Arrays and const

Updated: Mar 14, 2022

  • 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.

17 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page