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 www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #js #push
ADD COMMENT
Topic
Name
4+3 =