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.

Related questions

0 votes
asked Mar 21, 2021 in JavaScript by rajeshsharma
0 votes
0 votes
asked Jul 2, 2022 in Handlebars by Robindeniel
...