Skip to main content

One doc tagged with "the new operator"

View All Tags

The "new" Operator

The "new" operator is used to create a new object instance. What is the difference between a regular function and a constructor function? Interview Question