After being a freelance web developer for 12 years, I got a fulltime gig at Leadtech, Barcelona as a front-end developer. I'm the advocate of switching to Gutenberg blocks on our current WP web sites.
After being a freelance web developer for 12 years, I got a fulltime gig at Leadtech, Barcelona as a front-end developer. I'm the advocate of switching to Gutenberg blocks on our current WP web sites.
It seems that the
[... new Set(arr)]
is way faster than the other two.jsbench.me/xnkapa5nxq/1
That's actually great to know too. Finally, my laziness is paying off. π
HA! Exactly my thought on this topic π
Set
also reliably keep what is.add()
first as well. But I never really tested[...new Set(arr)]
on whether the sequence is kept.