Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js push

let arr = [9, 4, 3, 18]
arr.push(30)
console.log(arr) // [9, 4, 3, 18, 30]
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #push
ADD COMMENT
Topic
Name
1+8 =