Introduction To JavaScript

Introduction To JavaScript

Part-1(a)

What is JavaScript🤔?

While hunting for what is JavaScript, I finally found some good definitions of what it is on MDN It says

"JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language withfirst-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB, and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, single-threaded, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles."

  • Now Lets Breakdown the technical Jargons Written in the Definition

    1. Just-In-Time compiled programming language:-

      Just-in-Time means that code gets compiled when needed, not before runtime.

    2. First-Class Functions:-

      A programming language is said to have First-class functions when functions in that language are treated like any other variable. For example, in such a language, a function can be passed as an argument to other functions, can be returned by another function and can be assigned as a value to a variable.

    3. Scripting Language:-

      The scripting language is basically a language where instructions are written for a run-time environment. They do not require the compilation step and are rather interpreted. It brings new functions to applications and glue complex system together. A scripting language is a programming language designed for integrating and communicating with other programming languages.

    4. Prototype-Based:-

      Prototype-based programming is a style of object-oriented programming in which classes are not explicitly defined, but rather derived by adding properties and methods to an instance of another class or, less frequently, adding them to an empty object.

    5. Multi-paradigm:-

      Before Understanding Multi-paradigm we need to understand what PARADIGM in programming means. so Paradigm is a method to solve a problem using tools and techniques that are available to us following some approach. Below is the image of multiple Paradigms and Javascript supports many of them.1-344.png

    6. Single-threaded:-

      In Simple words Single threaded processes contain the execution of instructions in a single sequence. One command is processed at a time.

    7. Dynamic languages:-

      Dynamic languages allow programmers to modify and even change the structure while running. It is known as Run-time modification

    8. Object-oriented, imperative, and declarative are a few of the PARADIGMS of programming language which JavaScript Supports.

-Thank You, This is all for now. Hope you learned something. <br/> I'm sharing my learnings here and will write a series of Bloggs On JavaScript. Do give your feedback, there is always a room for improvement.

🤝🏻  Connect with Me

LinkedIn Twitter Email

⭐️ From ANKIT MISHRA

Did you find this article valuable?

Support Ankit Mishra by becoming a sponsor. Any amount is appreciated!