Question: what are advantages and disadvantages of javascript?
Answer: Speed. Client-side JavaScript is very fast because it can be run immediately within the client-side browser. ... 
Simplicity. JavaScript is relatively simple to learn and implement.
Popularity. JavaScript is used everywhere on the web.
Interoperability. ... 
Server Load. ... 
Gives the ability to create rich interfaces.