Vanilla JS

  • As of ES6, we are able to set default parameter values when defining a function, as shown below: This allows for named parameters to be initialized with default values if no value is present or it evaluates to undefined. If you want to call a function without passing one of the parameters, allowing it to fall […]

    Read more →

  • OOP in JS: Object Basics

    Object-Oriented Programming (OOP) is a popular programming paradigm that allows us a way to structure and maintain complex code. Unlike other programming languages that use class-based object orientation, JavaScript uses prototype-based object orientation. This difference may be a source of confustion for developers coming from a class-based language, especially when using the “syntactical sugar” of […]

    Read more →

  • In order for JavaScript to operate in the way that it does, it relies on three core components: I am not covering the concept of asynchronicity here but I will go over that in a future post(s). Memory & The Thread of Execution When a JavaScript program runs it goes through the code, line-by-line, and […]

    Read more →