JavaScript Eval: in case of error display a correct script reference link in console
If I eval a script with intentionally made mistakes I get an error log in console with a script reference link at the right side. For instance, here is the script: my_script = 'const a = 2;nconst b = a…