The new keyword in javascript can be quite confusing when it is first encountered, as people tend to think that javascript is not an object-oriented programming language. What is it? The new operator uses the internal [[construct]] method, and it basically does the following: