01-JS Fundamentals | Javascript introduction

JS introduction and Variable declaration and scope

Introduction to JS

What is JavaScript?

  • JavaScript is a dynamic, weakly typed programming language which is compiled at runtime.
  • It can be executed as part of a webpage in a browser or directly on any machine (“host environment”).
  • JavaScript was created to make webpages more dynamic (e.g. change content on a page directly from inside the browser).
[Read More]

OOPs | 06-Magic Methods

Dunder, Magic, Special Methods

Magic Methods

Magic Methods are also known as Dunder methods, Special methods

Python dunder methods are the special predefined methods having two prefixes and two suffix underscores in the method name. Here, the word dunder means double under (underscore).

These special dunder methods are used in case of operator overloading (they provide extended meaning beyond the predefined meaning to an operator).

[Read More]