Skip to main content
Code Cinema
JavaScript
Arrays
Build an array. Watch it grow and shrink in real time.
l
e
t
a
r
r
=
[
1
,
2
,
3
]
;
a
r
r
.
p
u
s
h
(
4
)
;
a
r
r
.
p
u
s
h
(
5
)
;
a
r
r
.
p
o
p
(
)
;
Click here and start typing...
Array — ordered list of values
arr [0]
Type the first line to create the array...
Operations