News for hackers. Stuff that matters.
Re:Ask HN: What is the most beautiful piece of code you've e... by superfrank on Monday October 28, 2019 @12:49AM (#21374369)
Oh, for sure. I know .filter() has it's place, so if you need anything beyond making the array unique, I'd definitely use your solution.

The one I posted just blew my mind a little the first time I saw it, so I love to share it. I guess I never really considered spreading a set.

There are no comments on this comment yet.