DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+9 =
Submit