Most Recent Articles

May 12, 2022

How To Solve The Unexpected Identifier Error in JavaScript

How much code do you write? Whether the answer is a few lines here and there or hundreds of lines each day, it is always easy to create small typos or other spelling-related mistakes in […]
By James LePage
April 27, 2022

Cannot read property 'replace' of Undefined in JS

Strings in JavaScript have a wealth of helpful methods you can use to interact with or otherwise modify the contents of a string. One such method is String.prototype.replace() which lets you create a new string […]
By Greg Murray
April 21, 2022

How to get the Class Name of an Object in JavaScript

While JavaScript is not strictly typed like languages such as C# or Java, it does still have class support. Originally, working with classes was mostly done through “constructor” functions and methods added to the prototype […]
By Greg Murray
April 18, 2022

How To Fix ReferenceError require is not defined in JavaScript

When Node.js first came out in 2009, the dream of JavaScript everywhere finally became a reality for many JavaScript developers. Full-stack web developers can effectively use the same programming language for both their front and […]
By Greg Murray
April 18, 2022

How To Fix Cannot read Property '0' of Undefined in JS

Sometimes the biggest disappointment in programming is a runtime error. You spent the last few hours writing what you thought to be perfect, error-free code. No red underlining to be found in any of your […]
By Greg Murray
April 14, 2022

How To Fix ReferenceError document is not defined in JavaScript

In a previous post we discussed why and how to safely use the window object in JavaScript. If you are trying to use the document object and receiving a ReferenceError: document is not defined error […]
By Greg Murray
April 8, 2022

How To Fix is not a function Error in JavaScript

Imagine this: you’ve got your API call setup and working. The data comes back with what you expected. Now? Time to work with that data to create the solution you are looking for. All of […]
By Greg Murray
April 8, 2022

How To Solve ReferenceError window is not defined in JavaScript

JavaScript is a programming language with the sole purpose of allowing developers to add interactivity to web pages. At least, that was its sole purpose. Until Node.js came out. That brought JavaScript out from under […]
By Greg Murray
April 7, 2022

How to Check if an Object is Empty in JavaScript

One thing that is enjoyable about writing JavaScript code is how simple it is to create and use objects. There are so many creative uses for these objects beyond simply storing and retrieving keyed values. […]
By Greg Murray
April 6, 2022

How to convert Map Values to an Array in JavaScript

JavaScript has many lesser known yet useful features. One such feature is the Map object. Introduced as part of the ECMAScript 2015 (ES6) specification (and not to be confused with the method), the Map […]
By Greg Murray
Back To Blog
🇺🇸 English
Save posts, access exclusive content, join members-only communities and more.
Dark Mode Toggle
Love web dev? Join the Isotropic weekly newsletter.
cross linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram

Your Cart is Empty