Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tzwm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
tzwm
10y ago
So what is the right way to do the same thing? Use `select` and get new array included elements we want to keep instead of using `reject!`?