JavaScript is sometimes referred to as a programming ...

Per the DOM, cHead is an array which has the one and only head tag in it. That element will, of course, have children – all the other elements in the head. The first thing the author has done is to set hHead to be that head element. Next the author proceeds to define a … ................
................