JavaScript is client side scripting language. When you open a web page your web browser first downloads all the necessary files from the server to display that page correctly. Those necessary files are HTML, CSS, Images, Videos, etc and the JavaScript files too. After completing download the browser displays that page on its window and any script linked with it will run from the downloaded script file.
As JavaScript runs from the client computer its execution time is very short, almost instantaneous. Viewers can run JavaScript without being connected with the server as well.
Web Development India ||
Web Developer