Scripts are executed as plain text,
don't need compilation to run.
It can be executed in browser, but also on the server.
The engine parses the script. compiles it to machine language,
and then run the code.
It doesn't allow
low-level access to user computer.
it's running in.
Simple things are done simply.
Support by all major browsers and enabled by default.