DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
concat array to an array only unique values in angular
array1 = array1.concat(array2.filter(item => array1.findIndex(x => x.value == item.value) < 0));
PREVIOUS
NEXT
Tagged:
#concat
#array
#array
#unique
#values
#angular
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit