Latest Posts

I write about front-end web development. I'm inspired by Nathan Barry's motto, teach everything you know. I also take a lot of inspiration from my friend and mentor, Chris Ferdinandi.

The in operator vs the hasOwnProperty() method in vanilla JavaScript

Last month, my friend and mentor Chris Ferdinandi wrote about how to check if an object has a property in vanilla JS. I thought I’d follow up by explaining the difference between the in operator and the hasOwnProperty() method.

Understanding prototypes and inheritance in JavaScript

In yesterday’s post, I suggested you start with the Introducing JavaScript objects module in the MDN Web Docs. Today, I want to share two fantastic articles by Tania Rascia!

Introducing JavaScript objects

The key to learning JavaScript deeply is to understand how objects and their prototypes work. In the next few posts, I want to share some of my favourite resources that have helped me with this.