can someone explain what below code means?

document.getElementsByTagName("head")[0].appendChild(js);