Description
JavaScript is a lightweight, cross-platform, single-threaded, and interpreted compiled programming language which is also known as the scripting language for webpages. It is well-known for the development of web pages, and many non-browser environments also use it. JavaScript is a weakly typed language(dynamically typed). JavaScript can be used for Client-side developments as well as Server-side developments. JavaScript is both an imperative and declarative type of language. JavaScript contains a standard library of objects, like Array, Date, and Math, and a core set of language elements like operators, control structures, and statements.
About JavaScript Programming
Prototype-based Object-oriented – JavaScript is an object-oriented programming language. It used prototypes instead of classes. Objects are used to represent the real-world entity in the program.
Interpreted Language – JavaScript is an interpreted programming language. It uses a just-in-time compilation technique at run-time.
Event-Based Programming – JavaScript allows us to write codes that are executed differently under different events.
Platform Independence – JavaScript codes are run on browsers. So irrespective of the machine, if the browser supports JavaScript, codes can run.
Why Learn JavaScript?
- JavaScript is used on both the client-side and the server-side. On the client-side, the code is run and displayed by the browser. On the server-side, Node.js is used.
- JavaScript is a platform-independent language. Any browser supporting JavaScript can run the code irrespective of the operating system
- JavaScript uses the just-in-time compilation technique. Since the compilation is handled at run time, JavaScript is considered an interpreted language.
- JavaScript is a dynamically typed language. That is, a variable containing a number may be reassigned to a string.
How to learn JavaScript?
- MDN Web Docs – It provides one of the best resources to learn JavaScript from basics to advance. Visit MDN-JavaScript Basics.
- Write a lot of Code – The only way you can learn programming is practice daily and write a lot of codes
Reviews
There are no reviews yet.