Domanda di colloquio di Trane

What does the new keyword in JavaScript actually do under the hood?