DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
array.from
const
set
=
new
Set
(
[
'foo'
,
'bar'
,
'baz'
,
'foo'
]
)
;
Array
.
from
(
set
)
;
// [ "foo", "bar", "baz" ]
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit