I am trying to add a script in a JS. Below is my code,
document.body.innerHTML += '<script async data-cfasync="false" src=""></script>';
I am getting below error when this JS code runs,
Uncaught SyntaxError: Invalid or unexpected token
I am trying to add a script in a JS. Below is my code,
document.body.innerHTML += '<script async data-cfasync="false" src=""></script>';
I am getting below error when this JS code runs,
Uncaught SyntaxError: Invalid or unexpected token