Looping Over Objects in JavaScript with Object.entries() - JavaScript Tutorial thumbnail

Looping Over Objects in JavaScript with Object.entries() – JavaScript Tutorial

In this tutorial I’ll be showing you how to use the Object.entires() function in JavaScript which gives you an array of key-value pairs for a given object. This makes it really easy to loop over objects in JavaScript and I’ll also be showing you a potential use case for this with the URLSearchParams constructor. Support…

How to use Generator Functions in JavaScript - Tutorial thumbnail

How to use Generator Functions in JavaScript – Tutorial

In this video I’ll be teaching you guys how to use Generator Functions in JavaScript and demonstrating how they can be one of the most powerful tools to add to your JavaScript skill set. To summarize, Generator Functions allow you to pause the execution of a function while maintaining any variables you may have set…

Global Regular Expression (Regex) Searches - JavaScript Tutorial thumbnail

Global Regular Expression (Regex) Searches – JavaScript Tutorial

In this video I’ll be demonstrating how to perform global regular expression searches in JavaScript. This can be done through the exec() method on RegExp objects or the matchAll() method on strings. This is a follow up to my previous video on the basics of regular expressions in JavaScript, which you can find here: https://www.youtube.com/watch?v=ArxOzeAONHg…

How To Use Iterators in JavaScript - Iterate Over Arrays and Collections thumbnail

How To Use Iterators in JavaScript – Iterate Over Arrays and Collections

In this video I’ll be showing you how to use and create iterators in JavaScript – you can use them to iterate over a collection or data structure. Support me on Patreon: https://www.patreon.com/dcode – with enough funding I plan to develop a website of some sort with a new developer experience! For your reference, check…

The Date Object - Getting, Setting & Formatting Dates in JavaScript - Tutorial thumbnail

The Date Object – Getting, Setting & Formatting Dates in JavaScript – Tutorial

In this video I’ll be demonstrating how to use the native JavaScript Date object to work with dates on the client-side of your web application or website. In most cases, a library such as Moment.js may be more suitable for working with dates but sometimes this native object is enough to satisfy your requirements. Support…

How to use Session Storage - JavaScript Tutorial thumbnail

How to use Session Storage – JavaScript Tutorial

In this video tutorial I’ll be showing you how to use the Session Storage API in JavaScript. Session Storage works very similar to Local Storage and allows you to store data on the client side in the form of key-value pairs. Support me on Patreon: https://www.patreon.com/dcode – with enough funding I plan to develop a…

typeof Operator - JavaScript Tutorial thumbnail

typeof Operator – JavaScript Tutorial

In this video tutorial I’ll be covering the “typeof” operator in JavaScript, and how you can use it to check the type of a variable. Support me on Patreon: https://www.patreon.com/dcode – with enough funding I plan to develop a website of some sort with a new developer experience! For your reference, check this out: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof…

The valueOf() method in JavaScript - Returning Primitive Values thumbnail

The valueOf() method in JavaScript – Returning Primitive Values

In this video tutorial I’ll be demonstrating what the valueOf() method does in JavaScript and how you can override it to enhance your JavaScript code. Support me on Patreon: https://www.patreon.com/dcode – with enough funding I plan to develop a website of some sort with a new developer experience! For your reference, check this out: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/valueOf…

Send Data Between Tabs and Windows! - Broadcast Channel API in JavaScript thumbnail

Send Data Between Tabs and Windows! – Broadcast Channel API in JavaScript

The Broadcast Channel API in JavaScript allows you to send data (or messages) between different browsing contexts (i.e. Tabs, Windows, IFrames etc.) It’s very easy to do and you can send almost anything such as Strings, Objects, Arrays and even Blobs. In this video, I’ll show you how to use it. Support me on Patreon:…

Arrow Functions (short syntax) - JavaScript Tutorial (ES6) thumbnail

Arrow Functions (short syntax) – JavaScript Tutorial (ES6)

In this video I’ll be explaining Arrow Functions in JavaScript (new in ES6) and how they differ from regular JavaScript functions. To summarize, I’ll be showing you the shorter, more concise syntax, the differences with the ‘this’ keyword and the fact that there is no arguments object with Arrow Functions. Support me on Patreon: https://www.patreon.com/dcode…