Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mhimmel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
mhimmel
10y ago
eq() is equivalent to selecting an item from an array and can be replaced by using bracket notation (e.g., arr[1]). In D3 you can do selection.classed('active', false). This is equivalent to toggleClass(). According to jQuery'