Javatpoint Logo
Javatpoint Logo

JavaScript handler.getPrototypeOf() Method

The handler.getPrototypeOf() method is a trap for the internal method. If target is not extensible, then this method returns the same value as Object.getPrototypeOf(target).

Syntax

Parameters

target: The target object.

Return value

This method returns an object or null.

Browser Support

Chrome NO
Edge NO
Firefox 49
Opera NO

Example 1

Test it Now

Output:

true true true

Example 2

Test it Now

Output:

true

Example 3

Test it Now

Output:

true

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