Javatpoint Logo
Javatpoint Logo

JavaScript Reflect.isExtensible() Method

The static Reflect.isExtensible() method is used to check if an object is extended or not. This method is similar to Object.isExtensible() but with some difference.

Syntax:

Parameters:

Obj: It is the target object which to check if it is extensible.

Return value:

This method returns a Boolean which indicates whether or not the target is extensible.

Exceptions:

A TypeError, if the target is not an Object.

Browser Support:

Chrome 49
Edge 12
Firefox 42
Opera 36

Example 1

Output:

true
 false

Example 2

Output:

 false
 false

Example 3

Output:

true
false
Next TopicJavaScript Reflect




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials