JavaScript Introduction | History of JavaScript | Features of JavaScript | History of JavaScript

JavaScript Introduction

JavaScript is not a compiled language, but it is a translated language. The JavaScript translator (embedded in the browser) is responsible for translating JavaScript code for the web browser.

JavaScript Introduction

What is JavaScript?

JavaScript (js) is a lightweight object-oriented programming language, used by many websites to script webpages.

It is an interpreted, full-fledged programming language that enables dynamic interaction on websites when implemented in an HTML document. It was introduced in the year 1995 to add programs to webpages in the Netscape Navigator browser. Since then, it has been adopted by all other graphical web browsers.

With JavaScript, users can build modern web applications to interact directly without having to reload the page every time. Traditional websites use js to provide many forms of interactivity and simplicity.

However, there is no connectivity of javascript with the Java programming language. The name was suggested and provided when Java was gaining popularity in the market. In addition to web browsers, databases such as CouchDB and MongoDB use JavaScript as their scripting and query language.

Features of JavaScript

Features of JavaScript in Hindi: JavaScript has the following features:

All popular web browsers support JavaScript as they provide a built-in execution environment.
JavaScript follows the syntax and structure of the C programming language. Thus, it is a structured programming language.
JavaScript is a loosely typed language, where certain types are implicitly cast (depending on the operation).
JavaScript is an object-oriented programming language that uses prototypes instead of using classes for inheritance.
It is a light-weighted and interpreted language.
It is a case-sensitive language.
JavaScript is supportable in many operating systems including Windows, macOS, etc.
It provides users good control over web browsers.

History of JavaScript

History of JavaScript: In 1993, the first popular web browser, Mosaic, came into existence. In the year 1994, Netscape was founded by Mark Andreesson, he realized that the web needed to become more dynamic.

Thus, a 'glue language' for HTML was provided to make web designing easier for designers and part-time programmers. As a result, in 1995, the company recruited Brendan Eich and intended to implement and embed the programming language into the browser. But, before starting Brendan, the company merged with Sun Microsystems to add Java to its navigator so that it could compete with Microsoft on web technologies and platforms. Now, there were two languages: Java and the scripting language.

In addition, Netscape decided to name the scripting language the same as Java. This led to 'Javascript'. Finally, in May 1995, Marc Andreessen named the first JavaScript code as 'Mocha'. Later, the marketing team changed the name to 'Livescript'. But, due to trademark reasons and some other reasons, in December 1995, the name of the language was changed to 'Javascript'. Since then, JavaScript came into existence.

Application of JavaScript

JavaScript is used to create interactive websites. It is mainly used for the following:
  • client-side validation,
  • Dynamic drop-down menus,
  • displaying date and time,
  • Displaying pop-up windows and dialog boxes (such as alert dialog box, confirm dialog box, and prompt dialog box),
  • Displaying Clocks etc.

JavaScript Example

<script>
document.write("Hello JavaScript by JavaScript");
</script>

what did you learn today?

We hope that you like our article What is JavaScript in Hindi? (javascript kya hai) Must have liked it. It has always been our endeavor to provide complete information about JavaScript or any other subject to the readers so that you do not have to search in any other sites or internet to find the necessary information. This will also save your time and you will also get complete information in one place.

If you still have any question regarding this article (Javascript tutorial in Hindi), then you can write it in the below comments.

If you liked this article What is javascript in Hindi or you got to learn something from this post, then you can share this post on your social media accounts like Facebook, Twitter, etc.
ShowHideComments