Javatpoint Logo
Javatpoint Logo

JavaScript handler.get() Method

The handler.get method is a trap for getting a property value. This method takes 3 arguments.

Syntax

Parameters

Target: The target object.

Property: Name of the property to get.

Receiver: The proxy or an object that inherits from the proxy.

Return value

This method can return any value.

Browser Support

Chrome 49
Edge 12
Firefox 18
Opera 36

Example 1

Test it Now

Output:

a:22b:42

Example 2

Test it Now

Output:

In get4523

Example 3

Test it Now

Output:

called: a100

Next TopicJavaScript handler





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA