- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- 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 10711 Articles for Web Development
![Shubham Vora](https://www.tutorialspoint.com/assets/profiles/485898/profile/60_1456867-1657516792.jpeg)
9K+ 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
![usharani](https://www.tutorialspoint.com/assets/profiles/13564/profile/60_32161-1512638316.jpg)
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; }
![varun](https://www.tutorialspoint.com/assets/profiles/13559/profile/60_29674-1512637943.jpg)
197 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.
![Prabhas](https://www.tutorialspoint.com/assets/profiles/13554/profile/60_90506-1512543588.jpg)
368 Views
One of the major strengths of a 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 life simpler, various vendors have come up with very nice JavaScript editing tools. Some of them are listed here −Microsoft FrontPage − Microsoft has developed a popular HTML editor called FrontPage. FrontPage also provides web developers with a number of JavaScript tools to assist in the creation of ... Read More
![seetha](https://www.tutorialspoint.com/assets/profiles/13549/profile/60_42938-1512640859.jpg)
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 a HTML. It is open and cross-platform.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 the security reason.JavaScript could not used for networking applications because there is no such support available.JavaScript doesn't have any multithreading or multiprocessor capabilities.
![vanithasree](https://www.tutorialspoint.com/assets/profiles/13547/profile/60_85216-1512542720.jpg)
4K+ 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 visitors − They don't have to wait for a page reload to see if they ... Read More
![mkotla](https://www.tutorialspoint.com/assets/profiles/13540/profile/60_41073-1512640012.jpg)
115 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
![Giri Raju](https://www.tutorialspoint.com/assets/profiles/13536/profile/60_72105-1512540773.jpg)
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
![Johar Ali](https://www.tutorialspoint.com/assets/profiles/14293/profile/60_101691-1513053093.jpg)
188 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 } } };
![Ali](https://www.tutorialspoint.com/assets/profiles/14292/profile/60_101553-1513052445.jpg)
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