Trane Interview Question

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