Trane interview question

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