Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

three dots in js

const numbers1 = [1, 2, 3, 4, 5];const numbers2 = [ ...numbers1, 1, 2, 6,7,8]; // this will be [1, 2, 3, 4, 5, 1, 2, 6, 7, 8]
Source by oprearocks.medium.com #
 
PREVIOUS NEXT
Tagged: #dots #js
ADD COMMENT
Topic
Name
6+6 =