MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/oe71tv/remove_duplicates_from_arrays_using_set/h44rnpf/?context=3
r/learnjavascript • u/webdevolution_ • Jul 05 '21
44 comments sorted by
View all comments
18
What is the use of ... before new? Sorry if it's dumb I am very new to js
4 u/Delfaras Jul 05 '21 it's the spread operator:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax 3 u/NANOwasFound Jul 05 '21 Thank you : D
4
it's the spread operator:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
3 u/NANOwasFound Jul 05 '21 Thank you : D
3
Thank you : D
18
u/NANOwasFound Jul 05 '21
What is the use of ... before new? Sorry if it's dumb I am very new to js