I guess I'm still relatively new to JS development, and during some refactoring of ancient JS code (proof: there's still usage of the 'with' statement in there), I've come across the following:
var result = new {
    key: 'value'
    // etc...
}
Why is the new keyword used? Is there a difference between this and the following?
var result = {
    key: 'value'
    // etc...
}
 
    