New WordPress Updates That Will Break Your Current Layouts - FaithSite Designs
Whether you’re a first-time blogger or seasoned developer, there’s always more to learn. From community members all over the world, these vast resources will help you learn more about WordPress and share it with others. You should use new when you wish an object to remain in existence until you delete it.
Understanding the Context
If you do not use new then the object will be destroyed when it goes out of scope. It is NOT 'bad' to use the new keyword. But if you forget it, you will be calling the object constructor as a regular function. If your constructor doesn't check its execution context then it won't notice that 'this' points to different object (ordinarily the global object) instead of the new instance.
Image Gallery
Key Insights
Therefore your constructor will be adding properties and methods to the global object ...