Found 8895 Articles for Front End Technology

Where should I put

What is the difference between null and undefined in JavaScript?

mkotla
Updated on 02-Jan-2020 08:47:46

5K+ Views

In JavaScript, undefined is a type, whereas null an object.undefinedIt means a variable declared, but no value has been assigned a value.For example,var demo; alert(demo); //shows undefined alert(typeof demo); //shows undefinednullWhereas, null in JavaScript is an assignment value. You can assign it to a variable.For example,var demo = null; alert(demo); //shows null alert(typeof demo); //shows object

What is the difference between JavaScript, JScript & ECMAScript?

Giri Raju
Updated on 30-Jul-2019 22:30:20

787 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.

What is the difference between JavaScript and ECMAScript?

Sreemaha
Updated on 30-Jul-2019 22:30:20

3K+ Views

JavaScriptJavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers.The standard of scripting languages like JavaScript is 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. JavaScript is a language based on ECMAScript. A standard for scripting ... Read More

How do I get the current date and time in JavaScript?

Shubham Vora
Updated on 20-Jul-2022 08:42:13

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

How do I get the current date in JavaScript?

usharani
Updated on 02-Jan-2020 08:39:53

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;           }            

Where is JavaScript Today?

varun
Updated on 04-Mar-2024 13:39:19

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.

What are some JavaScript Development Tools?

Prabhas
Updated on 02-Jan-2020 08:30:57

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

What are the limitations of JavaScript?

seetha
Updated on 02-Jan-2020 08:29:15

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.

What are the advantages of JavaScript?

vanithasree
Updated on 02-Jan-2020 08:30:11

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

Advertisements