Intro to JavaScript constructor functions

Constructor functions in JavaScript help us create new objects with similar properties and behaviors (methods), without the need to set them up one by one. This makes life much easier and less repetitive, especially when we need to work with lots of data that is stored in objects. The basics When using a constructor function… Continue reading Intro to JavaScript constructor functions

Basic object destructuring in ES6

During my coding exercises, I had briefly touched destructuring and noted that I wanted to repeat that lesson at some point, and now that I’m on my React intro course, I realize that I should make sure I fully understand destructuring in ES6. I’ll break this topic down into object and array destructuring, starting with… Continue reading Basic object destructuring in ES6