Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript eliminar items repetidos

var arr = [1,2,3,4,1,2,3,1,2,3]

var uniqueArr = [...new Set(arr)]

console.log(uniqueArr)
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #javascript #eliminar #items #repetidos
ADD COMMENT
Topic
Name
4+9 =