Sahithi Pallavi
Sahithi Pallavi
Computer Science
24 Apr 2012

What are the Disadvantages/Limations of JavaScript?

Okay JavaScript helps to add Buzz, Validation to the webpages, Communication to the Web server and many more.
Just wanted to know what are all the Disadvantages and Limitations of using JavaScript?
And Yeah JavaScript executes on client-side browsers, right? What if if an user accessing from an JS disabled browser?
Anoop Kumar

Anoop Kumar

Branch Unspecified
6 years ago
Basically java script used to make static web pages little bit dynamic and validation on client site to save server delay and resources.
yes, Java script is totally compiled and run by web browser.
It's user choice to disable java script and nothing can be done. This is essential limitation that user has all the control over it and code is exposed to client.
K!r@nS!ngu

K!r@nS!ngu

Branch Unspecified
6 years ago
Sada
Okay JavaScript helps to add Buzz, Validation to the webpages, Communication to the Web server and many more.
Just wanted to know what are all the Disadvantages and Limitations of using JavaScript?
And Yeah JavaScript executes on client-side browsers, right? What if if an user accessing from an JS disabled browser?

Yes Javascript is limited to execute within browser(It is a browser-side language).
Definition:
Javascript is one of the most simple, versatile and effective languages used to extend functionality in websites. Uses range from on screen visual effects to processing and calculating data on web pages with ease as well as extended functionality to websites using third party scripts among several other handy features, however it also possesses some negative effects that might make you want to think twice before implementing Javascript on your website. Let's look at some of its pros and cons.
We can point-out disadvantages when we compare it with any other programming language.
Sahithi Pallavi

Sahithi Pallavi

Computer Science
6 years ago
ianoop, K!r@nS!ngu -
thanks for your replies.
Limitations of JS What I feel are -

1. Client side scripts can be a little unpredictable. Just like JavaScript. It is sometimes interpreted differently by different browsers. It's entirely depends on client's browsers. Where as Server side scripts always produce the same output.
2. And since the JS code executes on the client's computer, the client has a control over it. It may exploit to malicious purposes.

Can we find anymore limitations?
Ankita Katdare

Ankita Katdare

Computer Science
6 years ago
Sada Good question.

Some more limitations are -

Unless you are using Ajax, Javascript can not access databases.
Except cookies that store information, javascript is not able to read or write on the files of the client.
greatcoder

greatcoder

Branch Unspecified
6 years ago
Sada
AbraKaDabra
JavaScript is definitely powerful, but It has many disadvantages:

1) As a developer, I always face a challenge to integrate javascript codes so that it can run in almost all browsers. It is a Great HEADACHE for developers to make the JS code compatible to all majorly used browsers. Most of the time developer spends his time debugging his code to support multi browser functionalilty.

2) Standalone JavaScript is of little use.
If u want to use JS, u have to take support of various third party tools available, the most famous of which is: jQuery- A plugin for JS to make the life of developers easy. it provides a better integrated API for developers and thus reduces development efforts.

3) There is a google plugin available which can be integrated with Eclipse IDE: GWT (Google Web Toolkit). This uses JavaScript to generate UIs. Basically It converts the Java User Interface code to JavaScript codes: A bridge between java to javascript. Really commendable effort from Google to develop such API and it is especially good for those who Javamaniac.

4) AJAX (Asynchronous Java Script), is also extensively used today. Google has major role in making AJAX popular.

Hence JS alone is quite terrible to use but when clubbed with such nice tools, The power of JavaScript can be utilized much more effectively. 👍

Regards
GC
ysr shk

ysr shk

Branch Unspecified
6 years ago
With the help of JS.We can find our cookies name.
And with some java or JSP programs we can find that cookie's value.
This leads hackers to steal cookies from another computer.And cookie may contain confidential information about password or it may contain password.

So I can say that it is less secure if you are dealing with cookies.
And if you are using Google chrome,we can inspect elements and can try with changing the values of variables.

Share this content on your social channels -

Only logged in users can reply.