Skip to content
  • AI
  • Github

Scratch that

Bite sized bits

  • AI
  • Github
  • ⤫

Browsing Category Javascript

Understanding JavaScript Generator Methods: A Comprehensive Guide with Examples

JavaScript generators are functions that can be paused and resumed multiple times, allowing you to execute code asynchronously and control the flow of execution. In addition to the yield keyword, generators also have access to several methods that allow you to control their execution and communication with the calling code. In this article, we’ll take

Posted by Posted on
0

Understanding JavaScript Generators: A Comprehensive Guide with Examples

JavaScript generators are functions that can be paused and resumed multiple times, allowing you to execute code asynchronously and control the flow of execution. In this article, we’ll take a closer look at generators and how they work, and we’ll provide some examples to demonstrate their usage. What are JavaScript Generators? JavaScript generators are functions

Posted by Posted on
0

JavaScript immutability

In JavaScript, immutability refers to the idea that once an object or value is created, it cannot be changed. This can be a useful concept in a number of different contexts, as it allows you to create values that are predictable and easy to understand. There are a few different ways to achieve immutability in

Posted by Posted on
0

Object oriented programming – Inheritance vs. Composition

In object-oriented programming, inheritance and composition are two different approaches to reusing code and creating relationships between objects. Inheritance is a mechanism that allows one object to inherit the properties and behavior of another object.In JavaScript, this is achieved using the extends keyword. For example: In this example, the Dog class extends the Animal class

Posted by Posted on
0

Javascript Pure Functions

In JavaScript, a pure function is a function that has the following characteristics: It always returns the same result for a given set of inputs. It does not have any side effects, meaning it does not modify any external state or variables. It does not depend on any external state or variables. Pure functions are

Posted by Posted on
0

Clean Architecture: A Craftsman’s Guide to Software Structure and Design

“Clean Architecture: A Craftsman’s Guide to Software Structure and Design” is a book written by Robert C. Martin, also known as “Uncle Bob,” that provides a guide to designing software systems in a way that is maintainable, flexible, and scalable. The book introduces the concept of “clean architecture,” which is a design philosophy that separates

Posted by Posted on
0

Primer CSS

GitHub’s Primer CSS is a popular open-source CSS library that was developed by the team at GitHub. It is designed to provide a set of consistent styles that can be used across a wide range of projects, making it easier for developers to create consistent, visually appealing designs. One of the key features of Primer

Posted by Posted on
0

Chrome extension – Service worker

The Chrome extension manifest v3 file allows developers to specify a service worker for their extension, which is a type of background script that can be used to perform tasks in the background, even when the user is not actively using the browser. Here is an example of how a service worker might be defined

Posted by Posted on

Chrome Extension – Manifest V3

Chrome extension manifest v3 files are an important part of the process of creating and distributing Chrome extensions. These files provide important information about an extension, such as its name, version, and the permissions it needs in order to function properly. One of the biggest changes in the new manifest v3 is the introduction of

Posted by Posted on

Service workers

Service workers are a powerful new feature of modern web browsers that allow you to add offline support and other advanced features to your web application. With service workers, you can create a seamless, offline-first user experience that provides fast and reliable access to your web application, even when the user is not connected to

Posted by Posted on

Posts pagination

Page 1 Page 2 Page 3
  • Algorithms
  • Front-end
  • Javascript
  • Philosophy
  • Project Management
  • Psychology
  • Science
  • Technology
  • Uncategorized
Copyright © 2025 - Scratch that // By - Deepak Anandrao