0 votes
in JavaScript by
The "new Point(3,2)", is a kind of _______ expression

a) Object Creation Expression

b) Primary Expression

c) Invocation Expression

d) Constructor Calling Expression

1 Answer

0 votes
by

Answer: A

Reason: The object creation expression creates a new object and also invokes a method called constructor in order to initialize the properties of that object. The object creation expressions are just like the invocation expressions except that they prefixed with a keyword commonly known as New.

...