first
stores h1
, second
stores p
first
stores "newspaper"
, second
stores "headline"
first
stores an element, second
stores the text of an elementsecond
stores an element, first
stores the text of an elementThe difference between their values is that first
stores the element h1
, while second
stores p
.