javascript written before doctype is working. But it is written after doctype then it is not working
I am writing some js code before doctype and this code generate one array. If i am writing this code inside of doctype or head tag then it is not working.
javascript written before doctype is working. But it is written after doctype then it is not working
===

I am writing some js code before doctype and this code generate one array. If i am writing this code inside of doctype or head tag then it is not working.