Question: Given the snippet of HTML below, what is the difference between the two lines that follow it?
- .get() retrieves a DOM element, and can't be chained, eq() retrieves a jQuery object, and can be chained.
- .get() retrieves a jQuery object, and can't be chained, eq() retrieves a DOM element, and can be chained.
- .get() retrieves a jQuery object, and is zero-indexed, eq() retrieves a DOM element, and is 1-indexed.
- .get() retrieves a DOM element, and is zero-indexed, eq() retrieves a jQuery object, and is 1-indexed.
Answer: The correct answer of the above question is Option A:.get() retrieves a DOM element, and can't be chained, eq() retrieves a jQuery object, and can be chained.