The ’new’ keyword - Object Creation in JavaScript P3 - FunFunFunction #50

We explore the new keyword in JavaScript works when applied to functions. This is the old school way of faking classes in JavaScript, prior to the class keyword being introduced in ES6. (We are going to be looking at the JavaScript ES6 class keyword later in this series) # Stuff mentioned in the video: • Code from the episode • Full series: Object creation in JavaScript • Book: JavaScript the good parts
Back to Top