Blog


Extracting all URLs on a Web Page with Chrome Developer Tools
Posted on October 15, 2024 in Google Chrome, JavaScript by Matt Jennings

Someone in the comments asked how how then can return only URLs containing “abc” or “defg”. The info below contains …

Read more


JavaScript Promises
Posted on September 26, 2020 in JavaScript by Matt Jennings

Promise is a special JavaScript object that represents an eventual result of an asynchronous action.

Promise has two properties:

Promise status.
Promise value.

A promise can …

Read more


Callbacks
Posted on September 22, 2020 in JavaScript by Matt Jennings

A callback is any function that is passed as an argument to another function, and then invoked from within that …

Read more


Basic Examples of Asynchronous Function Using Node.js
Posted on September 22, 2020 in JavaScript, Node.js by Matt Jennings

The console.log(number3) code, which outputs the text of the number3.txt file below that is in the same directory as the …

Read more


Subclassing (Inheritance)
Posted on September 19, 2020 in JavaScript by Matt Jennings

// userCreator is a factory function
function userCreator(name, score) {
// Create an object newUser that includes
// the …

Read more