If it’s faster to use object literals or other forms of object creation in JavaScript, why would anyone use the “new” keyword and constructor functions?
Does it make a difference when it comes to the application performance vs the readability and expressed intent of the code?
In this episode of ThoughtsOnCode, Derick answers these questions from a viewer, diving into the idea of performance optimization and measurement.