
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

6K+ Views
In this article, we will learn about the difference between null and undefined in JavaScript. In JavaScript, null and undefined represent the absence of a value, but they have different meanings and use cases. What is undefined in JavaScript? It means a variable declared, but no value has been assigned to the variable. JavaScript automatically assigns undefined to uninitialized variables. For example Below is an example of undefined in javascript − var demo; alert(demo); //shows undefined alert(typeof demo); //shows undefined Output undefined undefined What is null in JavaScript? null is an intentional absence of a value. It ... Read More

163 Views
JavaScriptThe base programming language in all these. ES5 and ES6 are just different versions of this languageCoffeeScriptCoffeeScript is a programming language which transcompiles to JavaScript. It’s a compiler layer on top of JavaScript.TypeScriptA language that compiles down to JavaScript. TypeScript is a method to create JavaScript code by writing it in the TypeScript dialect and compiles to JavaScript. TypeScript is a superset of JavaScript.ES5 and ES6CoffeeScript & TypeScript are the ones that support ES6 features. The compiler convert code into JavaScript (ES5). ES6 is next generation JavaScript.

984 Views
JavaScriptJavaScript is a language based on ECMAScript. A standard for scripting languages like JavaScript, JScript is ECMAScript. JavaScript is considered as one of the most popular implementations of ECMAScript.ECMAScriptThe full form of ECMA is European Computer Manufacturer's Association. ECMAScript is a Standard for scripting languages such as JavaScript, JScript, etc. It is a trademark scripting language specification.JScriptJScript released in 1996 by Microsoft, as Microsoft’s dialect of ECMAScript. JScript and JavaScript are different names for the same language. They have different names to avoid trademark issues.

5K+ Views
In this article, we will learn the difference between JavaScript and ECMAScript. JavaScript and ECMAScript are used somewhat interchangeably, but not quite. JavaScript is a general programming language in general use, and ECMAScript is its standard foundation. What is JavaScript? JavaScript was originally called LiveScript, but Netscape renamed it to JavaScript, perhaps due to the hype surrounding Java. JavaScript first appeared in Netscape 2.0 in 1995 under the name LiveScript. The language's general-purpose core has been integrated into Netscape, Internet Explorer, and other web browsers.The norm of scripting languages such as JavaScript is ECMAScript. The following are the features of ... Read More

10K+ Views
This tutorial teaches us to get the date and time in JavaScript. Nowadays, JavaScript is the most popular programming language used for user interaction with the browser. We can say that it is hard to find a single web application that does not use JavaScript.The purpose of creating this tutorial is to make programmers familiar with the Date() object. Users can get today’s date and current time using the date class. While developing the applications, programmers maybe need to show the current date and time according to the user’s local zone, and we can fill this requirement using the date ... Read More

1K+ Views
To get the current date in JavaScript, use the getDate() method.ExampleYou can try to run the following code get the date: Today's Date Get Date function myFunction() { var date = new Date(); var n = date.getDate(); document.getElementById("test").innerHTML = n; }

336 Views
The 8th edition, known as ECMAScript 2017, is the current JavaScript version, released in June 2017. JavaScript is a dynamic computer programming language.JavaScript 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. JavaScript is an interpreted programming language with a object-oriented capabilities.The ECMA-262 Specification defined a standard version of the core JavaScript language.JavaScript is a lightweight, interpreted programming language.Designed for creating network-centric applications.Complementary to and integrated with Java.Complementary to and integrated with HTML.Open and cross-platform.

533 Views
One of the major strengths of JavaScript is that it does not require any expensive development tools. You can start with a simple text editor such as Notepad. Since it is an interpreted language inside the context of a web browser, you don't even need to buy a compiler. To make our lives simpler, various vendors have come up with very nice JavaScript editing tools. Some of them are listed here − Code Editors and IDEs A quality code editor is the backbone of any JavaScript development process. Visual Studio Code (VS Code) is a ... Read More

4K+ Views
JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complementary to and integrated with Java. It is very easy to implement because it is integrated with HTML. It is open and cross-platform. Limitations We cannot treat JavaScript as a full-fledged programming language. It lacks the following important features: Client-side JavaScript does not allow the reading or writing of files. It has been kept for security reasons. JavaScript could not used for networking applications because there is no such support available. ... Read More

5K+ Views
JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of the web pages, whose implementation allows a client-side script to interact with a user and to make dynamic pages. It is an interpreted programming language with object-oriented capabilities. Advantages of JavaScript The advantages of using JavaScript are the following − Less server interaction − You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your server. Immediate feedback to the ... Read More