You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a similar vein to selection.attr("foo"), we should have a selection.node() method which returns the first node. This is identical to selection[0][0] but works as expected when some of the nodes are null, and makes the code more readable.
The text was updated successfully, but these errors were encountered:
In a similar vein to
selection.attr("foo")
, we should have aselection.node()
method which returns the first node. This is identical toselection[0][0]
but works as expected when some of the nodes are null, and makes the code more readable.The text was updated successfully, but these errors were encountered: