$(element).get(0) || $(element)[0]... 0 is its key, which can be understood as an array-like object. It's just that this attribute refers to this dom object.
This 0 is the subscript of the array. In fact, if you pay attention, here is a reminder that the array queried by your selector has 1 element. The text inside is dom[0].text(), or dom[0].html().
Can I complain about how small your screenshots are? ?
$(element).get(0) || $(element)[0]... 0 is its key, which can be understood as an array-like object. It's just that this attribute refers to this dom object.
This 0 is the subscript of the array. In fact, if you pay attention, here is a reminder that the array queried by your selector has 1 element.
The text inside is dom[0].text(), or dom[0].html().
Can I complain about how small your screenshots are? ?