I have this code:
var a = 1;
function test + a() {
alert('test');
}
test1();
I've received this error from the browser console:
Uncaught SyntaxError: Unexpected token +
So how can I concatenate the variable a
to test
which finally run function test1
here?