JavaScript is a high-level, often just-in-time compiled programing or scripting language. It has dynamic typing, prototype-based object-orientation, and first-class functions. It is multi-paradigm, supporting event-driven, functional, and imperative programming styles.
Note:
High-Level → Human Understandable.
Just-in-time Compilation → Dynamic Compilation OR Runtime Compilation. Means, a way of executing computer code that performs compilation during the execution of a program (at run time) rather than before execution.
Dynamic Type → Where the interpreter assigns variables a type at runtime based on the variable's value at the time. It means that JS does not require the explicit declaration of the variables before they're used.
Prototype-based object-orientation → Prototype-based object-orientation 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.
First-class Functions → When functions are treated like any other variables.
Multi-paradigm → Multi paradigm means the language is general-purpose or flexible. JavaScript can be used for declarative (functional) or imperative (object-oriented) programming styles.
Event-Driven → Event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or message passing from other programs or threads.
Top comments (0)