User Tools

Site Tools


javascript_arrays

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
javascript_arrays [2018/09/24 16:17]
119.94.100.2
javascript_arrays [2018/09/24 16:26] (current)
119.94.100.2
Line 22: Line 22:
 alert(cars[0]);​ alert(cars[0]);​
 </​code>​ </​code>​
 +
 +
 +===Accessing the whole array===
 +
 +I wonder what this looks like
 +<​code>​
 +alert(cars);​
 +</​code>​
 +
  
 ===Changing the value of an array element=== ===Changing the value of an array element===
Line 52: Line 61:
 </​code>​ </​code>​
  
- 
-===Accessing the whole array=== 
- 
-I wonder what this looks like 
-<​code>​ 
-alert(cars);​ 
-</​code>​ 
  
 ===Arrays can contain anything=== ===Arrays can contain anything===
javascript_arrays.txt ยท Last modified: 2018/09/24 16:26 by 119.94.100.2