ABC Article Directory banner displaying blue butterfly logo. Click to go directly to the main Homepage

Features of JavaScript

     In the community of web developers and surfers, JavaScript is highly popular as client side scripting language for web browsers. In any web application, JavaScript can be used to implement simple features like rollover images as well as to make asynchronous requests to server using Ajax. When flash was not very popular JavaScript was used to add beautiful effects to web pages and is still being used for that purpose. Some of the main features of JavaScript will include:

JavaScript having a Browser support. To access flash content you need to install flash plug-in in your browser. But to use JavaScript, you don't have to use any plug-ins at all. This is because all browsers have accepted all browsers have accepted JavaScript as a scripting language for them and provides integrated support for it. All you need to do is to handle some of the tasks that are dependent on DOM of different browser properly.

Another feature is that it can be used on client side as well as server side. A JavaScript has access to Document object model of browser; you actually change the structure of the web pages at run time. Due to his JavaScript can be used to add effects on WebPages. On the other hand, JavaScript could be used on the server side as well. Similarly in JavaScript, function could be assigned to variables just like any other data type. Not only that, but a function can accept another function as a parameter and can also return a function. You can have functions with no names as well.

To add onto that JavaScript is an object oriented language. However the way JavaScript handles objects and inheritance is a bit different from conventional object oriented programming languages like Java. Due to this reason JavaScript supports most of the object oriented concepts while being simple to learn and use.

Similarly in JavaScript you can create anonymous self executing functions. This is a function that has no name and is executed immediately. It can be used to induce a block scope and can be useful when dealing with closures within loops.

Likewise JavaScript also contains a user validation system. That is when calculating or inputting data, an invalid entry will be barred by an error sign popping up. Similarly client side JavaScript is embedded inside HTML and used along DOM for control over the browser by means of objects with the newer version of JavaScript having built in generators and iterators.

Another feature of JavaScript to be noted is that it is case sensitive. Any reference to a function or an object in a JavaScript must match the case used to define the function. Similarly single line comments should always start with a double slash. To include comments in a JavaScript you can place the lines anywhere within a line. Typically, slashes are placed as first characters on a line. The JavaScript interpreter ignores them and any text after the slashes until it reaches the end of the line.

Those are the features that enable JavaScript to handle simple and complex tasks as well. Due to this JavaScript has remained as the most popular programming language for a long time.

Copyright (c) 2013 Freelance Press Network

Article Source:

Should you need help with your work or if you have a service to render, you can join our freelance jobs site. If you are from nigeria, join our jobs in Nigeria experts or buy affordable services in Nigeria.

Posted on 2013-09-05, By: *

* Click on the author's name to view their profile and articles!!!

Note: The content of this article solely conveys the opinion of its author.

Animated RSS Symbol for the ABC Article Directory rss category feed ... Get Every New Web Development Article Delivered Instantly!

Facebook Comments

" data-width="470" data-num-posts="10">

Cartoon image of a figure holding a magnifying glass looking for articles in the ABC Article Directory

Still Searching? Last Chance to find what you're looking for with a Google Custom Search!

Custom Search

Or.... You can search this site using our Bing Custom Search!


Did You Like/Dislike This Article? Give It YOUR Rating!

Please Rate this Article

No Ratings Yet. Be The First To Rate This Article

/EDF Publishing. All rights reserved. Script Services by: Sustainable Website Design
Use of our free service is protected by our Privacy Policy and Terms of Service | Contact Us

User published content is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported License
Increase your website traffic with

Valid CSS!


Powered by ABC Article Directory