Steven Hancock·Apr 13, 2023JavaScript Question: Should I Use undefined or null?JavaScript has two ways to represent an absence of value: null and undefined. Both of these are primitive types in JavaScript and can be…
Steven Hancock·Feb 27, 2023Accessing JSON DataJavaScript Object Notation or JSON is a standard text-based format for transmitting data in web applications. If you are retrieving data…
Steven Hancock·Jan 31, 2023JavaScript Tip: Use Destructuring to Swap ValuesSince destructuring assignment was introduced, I have loved all the different ways it can be used. In all cases they save key strokes and…
Steven Hancock·Jan 17, 2023JavaScript Tip: Finding the Min and Max Value in an ArrayFinding the minimum and maximum value of a JavaScript array is not too difficult if you know two simple tips. In this article we will look…
Steven Hancock·Dec 22, 2022The Essential JavaScript CallbackWithout callbacks it would be very difficult to do anything interesting with JavaScript. Callbacks have been with the language ever since…A response icon1A response icon1
Steven Hancock·Dec 2, 2022JavaScript Functions Fly First Class and Can be Higher OrderPerhaps you have heard of JavaScript functions referred to as first class citizens. Or maybe you have heard them described as higher order…
Steven Hancock·Nov 14, 2022Creating Objects with Factory FunctionsIf there is one thing that is true about JavaScript, it is that there are a number of different ways to create objects. A factory function…
Steven Hancock·Nov 1, 2022JavaScript Prototypes are EverywhereIn a previous article, I talked about how objects are everywhere in JavaScript. Well, if objects are everywhere, then that means prototypes…A response icon1A response icon1
Steven Hancock·Oct 24, 2022Objects are Everywhere In JavaScriptIf you don’t understand how to work with objects, you will never fully understand JavaScript, because objects are everywhere in JavaScript.A response icon2A response icon2