If you use the Internet, then you must have heard about JavaScript. You must have thought, "What is JavaScript?" What work will it be used for? How can we learn it? How can we get information about what is JavaScript? We will talk about all these things in this article, so let's know what is JavaScript .
what is javascript ?
JavaScript is a programming language used to create interactive web pages. It creates elements to improve site visitor interaction with web pages, such as dropdown menus, animated graphics, and dynamic background colors.
JavaScript was created by Brendan Eich for Netscape in 1995, then renamed Livescript, and later changed to JavaScript. kept.
Many programmers consider Java and Java to be related to each other, but in reality, these two are completely different from each other and there is no relation between them. Where Java is a very complex programming language, JavaScript is only a light-weight scripting language.
Javascript is a client-side scripting language as well as a server-side language.Client side scripting
Such a script that runs on the user's browser is called Client Side Scripting. Users can view the code of Client Side JavaScript in their browser as it runs in the browser.
Server Side JavaScript
Such scripting or programming that runs on the server and not on the browser is called Server Side Scripting. It can access the server's files and databases. The code of Server Side Scripting cannot be seen on the user browser because it resides on the server itself and is executed there.
difference between java and javascript
JavaScript is not the same as Java at all. I want to tell you one more time that they are different from each other.
By the way, the names of these two are very similar, which creates confusion in the minds of the people. Where this language is primarily used as a scripting language in HTML pages, Java is a real programming language that is used entirely in other tasks.
Learning Java can be a bit difficult. It was developed by Sun Microsystems for use in all those things where computing power was needed.
JavaScript was developed by Brendan Eich, who worked at Netscape at the time. He developed it as a client-side scripting language (although there is no fundamental reason why it should be used in a server-side environment, it cannot be used).
Both Java and JavaScript are descendants of C and C++, but these languages work completely differently from their ancestors. Both languages are object-oriented, and yes, they also share some similar syntax. But there are more differences than similarities.
Also read - what is operating system
- The user can find out which browser is being used.
- JavaScript is used to create mobile applications.
- JavaScript is also used in game development.
- Popups window like alert dialogue boxes, confirm dialogue boxes, etc. can also be created with JavaScript.
- Some information can be stored in the user's browser and can be accessed when the user visits again. This information is called "cookies."
Apart from all this, there are many such areas where JavaScript is used, such as in creating server applications. But these are important areas where JavaScript is used more.
Advantage of JavaScript
- Simplicity: JavaScript is very simple to learn as well as to implement.
- Easy to Learn: The JavaScript language is easy to learn. Because the code syntax in this is very simple.
- Versatility: JavaScript is compatible with other languages like PHP, Perl, and Java. It also makes data science and machine learning accessible to developers.
- Fast Execution: It is fast because it runs on the client side and does not require much server interaction.
- With its help, a website can be made attractive and professional.
- Popularity: plenty of resources and forums are available to help beginners with limited technical skills and knowledge of JavaScript.
- Almost all type of operating system and browser is supported by JavaScript.
- The server request is minimised by the JavaScript script, which is created for the ClientSide and executed by the browser on the user's device.
Disadvantage of JavaScript
- Security : JavaScript code that runs on the client-side is vulnerable to exploitation by irresponsible users.
- JavaScript works in different ways on different browsers, so its output is also different on different platforms.
What is JavaScript Language?
Version of JavaScript
JavaScript Version | Release Year |
---|---|
JavaScript 1 ( ES1) | 1997 |
JavaScript 2 (ES2) | 1998 |
JavaScript 3 (ES3) | 1999 |
JavaScript 4 (ES4) | कà¤ी Release नहीं किया गया |
JavaScript 5 (ES5) | 2009 |
JavaScript 6 (ES6) | 2015 |
JavaScript 7 (ES7) | 2016 |
JavaScript 8 (ES8) | 2017 |
JavaScript 9 (ES9) | 2018 |
How to Learn JavaScript
You can use the methods mentioned below to learn JavaScript.- Https://Www.W3schools.Com/
- Https://Www.Tutorialspoint.Com/Index.Htm
- Https://Www.Learn-Js.Org/
- Https://Javascript.Info/
- Udemy
- Codecademy
- Lynda
- EDX