Computer >> Computer tutorials >  >> Programming >> Javascript

Which one is faster between JavaScript and an ASP script?


ASP Script is a server side scripting language and is executed on the server.

Javascript on the other hand is a client side scripting language which is executed on the client browser.

Since javascript is executed on the client, it doesn't need to make a network call and hence saves the round trip time it takes to send request and recieve response from the server. So JavaScript is faster.