MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/nc6i5j/remove_duplicate_value_from_array/gy4xobg/?context=3
r/learnjavascript • u/suprabha-supi • May 14 '21
89 comments sorted by
View all comments
2
So how really does it work? I mean I assume that we can’t use it in an interview.
2 u/suprabha-supi May 14 '21 What I have seen, interviews always ask multiple ways.In those we have different ways:Using SetArray.fromfilterreduceforEach 1 u/suprabha-supi May 14 '21 I have added few ways which we can use to remove duplicate values from an array:https://blog.suprabha.me/57-remove-duplicate-from-array
What I have seen, interviews always ask multiple ways.
In those we have different ways:
Using Set
Array.from
filter
reduce
forEach
1 u/suprabha-supi May 14 '21 I have added few ways which we can use to remove duplicate values from an array:https://blog.suprabha.me/57-remove-duplicate-from-array
1
I have added few ways which we can use to remove duplicate values from an array:
https://blog.suprabha.me/57-remove-duplicate-from-array
2
u/devbrk May 14 '21
So how really does it work? I mean I assume that we can’t use it in an interview.