Javascript is an object-oriented, lightweight, single-threaded scripting language. It is widely used to make interactive and dynamic web pages. It is also used for client-side validation.
To print "Hello World" in javascript:
<html>
<body>
<script>
console.log("Hello World");
</script>
</body>
</html>
The above code will print Hello World on the console.
Let's discuss the key terms used in the above definition:
Object-oriented means JavaScript can work with objects and classes.
Lightweight means it uses significantly less memory and has straightforward syntax and semantics.
Single-threaded means JavaScript can process only one command at a time.
Scripting Language is a programming language subcategory that provides instructions to another language to operate in a certain way.
Dynamic web pages show information according to the users of that website.
We will look at different ways to create a variable in the next blog.