1.

How to make variables private in Constructor functions?

Answer»

JavaScript is a lightweight and interpreted programming language that introduced in 1995 as LiveScript.  Brendan Eich developed it and the language BECAME an ECMA standard in 1997.

Let us now see why JavaScript is needed:

  • Less load on Server

You can VALIDATE input before sending it to the server. This leads to faster loading on the server.

  • Easier Implementation

Executing JavaScript code is not a tedious task. Add your code in an HTML document. When user requests this HTML page with JavaScript in it, the script is sent to the web browser.

  • Loading

JavaScript can load CONTENT into the document whenever you need it. And while doing that, you don’t need to reload the complete page.

  • Animate

Use JavaScript to show and hide information on click. Move DOM elements around the page based on some PATTERN using JavaScript.

  • Text-Animation

With JavaScript, you can also animate text.

  • Game Development

You can develop games as well if you have advanced knowledge of JavaScript and its practical implementation.

  • Validation

JavaScript validates form data on the client's computer. And this task is accomplished before sending the data to the server.



Discussion

No Comment Found