Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

What function does { } have in javascript?

$
0
0
I'm new to scripting, and recently I got stuck on a script. There was one 'Unexpected Token' error. Out of ideas, I added { } before it a couple lines above. This somehow fixed the error. I usually don't question things that miraculously work, but I want a good understanding of how javascript works. Thank you!

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>