I'm declaring a variable as an HTMLAnchorElement object which is reserved for html "a" tags. Then I am setting the variable equal to a paragraph tag which should only work for HTMLParaElement objects. Somehow the variable becomes a paraelement object despite being declared otherwise.
Please Login or Register to view this content.
Bookmarks