I have an assignment followed by a string interpolation:
var a = 3;
`${a} One two three`
"3 One two three"
If I leave ou the ; after the assignment then the code becomes invalid:
var a = 3
`${a} One two three`
VM573:2 Uncaught TypeError: 3 is not a function
at <anonymous>:2:1
I thought that ; is mandatory only after {}... Can somebody explain the above please?