DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove duplicate array es6
let
a
=
[
10
,
20
,
30
,
10
,
30
]
;
let
b
=
[
...
new
Set
(
a
)
]
;
console
.
log
(
b
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#duplicate
#array
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit