Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make a duplicate array in js

let array =["a","b","c"];
const duplicateArray = [...array];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #duplicate #array #js
ADD COMMENT
Topic
Name
7+5 =