Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Array Deep clone

const users = ['John', 'Mike', 'Cole', 'Bekky']
const [a,b, ...others] =users

console.log(a,b, others) // 'John', 'Mike', ['Cole, Bekky']
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #Array #Deep #clone
ADD COMMENT
Topic
Name
6+8 =