
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 6710 Articles for Javascript

213 Views
JavaScript resources include resources for the scripting languages standard ECMAScript.This is standardized in the ECMA-262 and ECMA-402 specifications.Here is the ECMAScript standard for the current editions:ECMA-2629th Edition - This is ECMAScript 2018 Language Specification.ECMA-402 5th Edition - This is ECMAScript 2018 Internationalization API Specification.Here are the ECMAScript standards for historical editions:ECMA-262 7th Edition - ECMAScript 2016 Language Specification.ECMA-402 3rd Edition - ECMAScript 2016 Internationalization API SpecificationECMA-262 8th Edition - ECMAScript 2017 Language Specification ECMA-402 4th Edition - ECMAScript 2017 Internationalization API Specification

2K+ Views
Core JavaScript is the basis of the JavaScript language. JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as apart from web pages, whose implementations allow a client-side script to interact with the user and make dynamic pages.The JavaScript language has the following components: Core JavaScript:Core JavaScript is the basic of the JavaScript language supports both the client and server side.Client-side javascript (CSJS)The client-side JavaScript has core JavaScript elements. For functioning, it also has properties and methods, which helps developers.Server-side JavaScript (SSJS) Server-side JavaScript, as the name suggests runs on server-side. The core is part of client-side ... Read More

272 Views
A global variable has global scope which means it can be defined anywhere in your JavaScript code. To minimize the usage of global variables, use consistent variables around different parts of your project.var myValue = { common: function(){ //Add code }, val1: { myVar1: "Demo String One", func1: function(){ //Add some code }, } val2: { myVar1: "Demo String Two", func1: function(){ //Add another code }, } val3: { myVar1: "Demo String Three", func1: function(){ //Add another code here } } };

1K+ Views
Avoid global variables or minimize the usage of global variables in JavaScript. This is because global variables are easily overwritten by other scripts. Global Variables are not bad and not even a security concern, but it shouldn’t overwrite values of another variable.On the usage of more global variables in our code, it may lead to a maintenance issue. Let’s say we added a variable with the same name. In that case, get ready for some serious bugs.To avoid the usage of global variables, use the local variables and wrap your code in closures. You can also avoid this by wrapping ... Read More

217 Views
Commonly, adding semicolons in JavaScript is optional. Simple statements in JavaScript are generally followed by a semicolon character, just as they are in C, C++, and Java. JavaScript, however, allows you to omit this semicolon if each of your statements is placed on a separate line.No need of a semicolon in a function declaration:function functionname(s) { }If the function is written as a statement, it should have a semicolon like any other statement in JavaScript:var a = function functionname(s) { };

215 Views
JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow a client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities.To learn JavaScript, refer to the following tutorial. It explains the below-given JavaScript concepts perfectly.OverviewSyntaxVariablesOperatorsLoop ControlFunctionsEventsCookiesDialog BoxesIt also explains the following advanced topics with live examples.Error HandlingValidationsAnimationMultimediaDebugging

206 Views
Dojo It is an open source modular JavaScript library came into existence to a develop cross-platform, applications and a websites. It was developed by Alex Russell, Dylan Schiemann and other contributors in 2004. AngularJS AngularJS is an open source web application framework. It was originally developed in 2009 by Misko Hevery and Adam Abrons. It is now maintained by Google. Backbone.js BackboneJS is a lightweight JavaScript library that allows to develop and structure the client side applications that run in a web browser. It offers MVC framework which abstracts data into models, DOM into views and bind these two using ... Read More

202 Views
The following is the comparison of some JavaScript Frameworks:AngularJSDojoEmber.jsGoogle Web ToolkitDrag & Drop FunctionalityNoYesNoYes, but only with plugins.Provides Simple Visual EffectsYesYesNoYesProvides Rich Text EditorNoYesNoYesSupport For CanvasNoYesNoYesSupport For CanvasNoYesNoYes

229 Views
AngularJSAngularJS is an open source web application framework. It was originally developed in 2009 by Misko Hevery and Adam Abrons. AngularJS is now maintained by Google.Backbone.jsBackboneJS is a lightweight JavaScript library that allows to develop and structure the client side applications that run in a web browser. It offers MVC framework which abstracts data into models, DOM into views and bind these two using events.Ember.jsEmber.js is an open source, free JavaScript client-side framework used for developing web applications. Ember.js allows building client side JavaScript applications by providing a complete solution which contains a data management and an application flow.The original ... Read More

270 Views
The following are some of the best JavaScript Libraries:jQueryjQuery is a fast and concise JavaScript Library created by John Resig in 2006 with a nice motto – “Write less, do more”. jQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.MooToolsMooTools is an object-oriented, lightweight JavaScript framework. The full form of MooTools is My Object-Oriented Tools. It is released under the free, open-source MIT License. It is one of most popular JavaScript libraries. MooTools is a powerful, lightweight JavaScript library. It creates an easy interaction of JavaScript in web development. It can also do many ... Read More