Javatpoint Logo
Javatpoint Logo

JavaScript handler.construct() Method

The handler.construct() method is used to intercept the new operation. This method returns an object.



Target: The target object.

argumentsList: List of the constructor.

newTarget: The constructor that was originally called, p above.

Return value

This method returns an object.

Browser Support

Chrome 49
Edge 12
Firefox 18
Opera 36

Example 1

Test it Now


Java Script proxy Constructor

Example 2

Test it Now


{ "Value": "Hello to anybody" } 

Example 3

Test it Now


Constructor called Proxi

Next TopicJavaScript handler

Please Share

facebook twitter google plus pinterest

B.Tech / MCA

Learn Latest Tutorials