- It increases the user interactivity and make the static HTML website to look dynamic.
- It helps in the creation of richer interfaces such as drag and drop of web items, sliders to show rolling pictures and videos, etc. which enhances the look and feel of the website.
- It lacks multiprocessor or multithreading capabilities.
var1 = 100; var2 = 200; document.write (var1 + var2);
//This is single line comment