top of page
Search

Arrays and const

  • zakariyesahid96
  • Feb 3, 2022
  • 1 min read

Updated: Mar 15, 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.

 
 
 

Comments


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2021 by zaktech96. Proudly created with Wix.com

bottom of page