I'm trying to understand this source code to learn how to make artblocks.
https://api.artblocks.io/generator/9000000
The code looks like this:
<script>
'use strict';
{
....
}
</script>
Why is the whole script in the HTML wrapped in curly braces? And why does the script still work?