Advantages & Disadvavtages of Java Script?
Advantages & Disadvantages of CGI Scripting?
Structure of Java Script?
Commands of Java Script?
HTML Basic Reviews?

Answer Posted / pankajbisane

Like all computer languages, JavaScript has certain
advantages and disadvantages. Many of the pros and cons are
related to being a client-side language.
Advantages of JavaScript

* Speed. Being client-side, JavaScript is very fast
because any code functions can be run immediately instead of
having to contact the server and wait for an answer.
* Simplicity. JavaScript is relatively simple to learn
and implement.
* Versatility. JavaScript plays nicely with other
languages and can be used in a huge variety of applications.
Unlike PHP or SSI scripts, JavaScript can be inserted into
any web page regardless of the file extension. JavaScript
can also be used inside scripts written in other languages
such as Perl and PHP.
* Server Load. Being client-side reduces the demand on
the website server.

Disadvantages of JavaScript

* Security. Because the code executes on the users'
computer, in some cases it can be exploited for malicious
purposes. This is one reason some people choose to disable
JavaScript.
* Reliance on End User. JavaScript is sometimes
interpreted differently by different browsers. Whereas
server-side scripts will always produce the same output,
client-side scripts can be a little unpredictable. Don't be
overly concerned by this though - as long as you test your
script in all the major browsers you should be safe.

Is This Answer Correct ?    43 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Object.entries( ) In JavaScript ?

772


What is the use of anonymous function in javascript?

647


How to get the last index of a string in javascript?

722


What is the difference between Local Storage and Session Storage?

800


How do I open javascript?

715


What is the most widely used programming language?

687


Difference between Pure functions Vs. Impure functions in javascript?

728


What is use of settimeout function in javascript?

746


How to convert numbers to strings using javascript?

725


Can you explain the difference between call and apply?

760


How to have the status line update when the mouse goes over a link (the support of the status line is sporadic)?

691


What is argument objects in javascript & how to get the type of arguments passed to a function?

721


What is the method for reading and writing a file in javascript?

763


How does typeof operator work?

799


How to access the value of a textbox using javascript?

731