ryanboris
5/28/2018 - 6:46 PM

[JS heading snippet]

[JS heading snippet]

for (var i = 0, headings = $$('h1,h2,h3,h4,h5,h6');
     i < headings.length; i++) {
   console.log(headings[i].textContent.trim() + " " +  
               headings[i].tagName,
               headings[i]);
}