[Solved] “Uncaught SyntaxError: Unexpected string” in javascript

[ad_1]

JavaScript uses + for concatenation, not .

Additionally, you should use var name = ... instead of just name = ... to avoid creating a global!

[ad_2]

solved “Uncaught SyntaxError: Unexpected string” in javascript