Introduction to JavaScript Scheduling
August 16, 2020Using setTimeout and setInterval to control the execution of code at specified time intervals
Written by Fraser Hamilton a full stack developer based out of Edinburgh, Scotland.
Using setTimeout and setInterval to control the execution of code at specified time intervals
Comparing arrays without the need for utility libraries
Swapping array elements without needing a temporary variable
What is Automatic Semi-Colon Insertion (ASI) and what are the rules that govern it?
Randomizing the order of elements in an array using the modern version of the Fisher-Yates shuffle
Getting to grips with the max and min aggregate functions in Postgres
Using the AVG aggregate function in SQL to get average of the values of a column
Dot notation versus brackets, which is preferable and why?
Using the SUM aggregate function in SQL to sum the values of a column
Get a number that represents a point in time by the number of ms that have passed since the Unix Epoch
Learn how to use regular expressions to validate an email address
Using string.prototype.includes to check if a substring exists
Redirecting to pages programmatically using window.location
Parsing, validating and manipulating dates in JavaScript with Day.js
Removing duplicates for a JavaScript Array with ES6 Set
Give your Website a fresh look using Google Web Fonts
What convention should be used when naming databases, tables, and fields?
Managing state in React functional components with hooks
Consistent, easy and automatic code formatting for you and your team
Loops explained: for loops, while loops, control flow
The difference between undefined and null in JavaScript
Build a simple Pomodoro timer extension in 25 minutes
Learn how to use Array.prototype.reduce to group an array of objects by key
Learn how to reverse a string in Javascript using the Array.prototype methods
Demystifying how the value of this is assigned in different contexts
Generating custom error messages using throw
Getting to grips with one of the harder to understand Array.prototype methods
Using typeof & instanceof methods to check the type of any variable
How to perform string interpolation using template literals
Getting to grips with the file at heart of many codebases in the JavaScript ecosystem
Getting to grips with the ECMAScript module system
A brief look at what evaluates to false in JavaScript
How to declare default function parameters in JavaScript
Getting to grips with the ECMAScript module system
Manage multiple installations of Node.js on Windows
Learn how to get a random sample of n elements from an array
Learn how to get a random element from an array in JavaScript
Create a utility function to partition an array based on a condition in vanilla JS
Learn how to check if a value is in an array using includes()
Generate an array of values that you can then manipulate with map, forEach etc
Learn how to flatten an array in JavaScript
Learn how to reverse an array in Javascript using the Array.prototype method
Learn how to combine two arrays into a new array
Learn how to create a new object that combines two objects properties
Authentication in your react native apps made easy
The three methods of variable declaration in JavaScript