I'd like to know why this is not writing, specifically the last line. I have the array which is fine but I can't get the last line to write.
Code JavaScript:document.write ('<p>The First Author is <strong>'); document.write (authors[0] + '</strong></p>'); document.write ('<p>The last author is <strong>'); document.write (authors[authors.length-1] + '</strong></p>'); authors.unshift ('Stan Lee'); document.write ('<p>I almost forgot <strong>' + authors[0] '</strong></p>');



Reply With Quote
Bookmarks