Absolutely wrong in an absolute way - read all the posts in this thread which will explain why.
I thing SE bots ignore the data contains in the script. So no need to worry much about the negative part…
i think it does not matter what kind of coding language you are using as seo really concern with contents and website layout, tags, urls and web presence means backlinks. But your website loading speed does matter which should be optimize…
If your java script does not too complex, I think it will not effect
All that needs to be said has been said.