Property attributes: This property holds an Object and it is not Writable, Enumerable and Configurable.
Return value: Check the variable appears in the lexical scope variable.
Example 1:In this example, we will see the output If all property are set to false.
Example 2: In this example, we will see the output If any property is set to true.
"FUN" Error: val is not defined
Example 3: In this example, we will see all the unscopables
[ 'copyWithin', 'entries', 'fill', 'find', 'findIndex', 'flat', 'flatMap', 'includes', 'keys', 'values' ]
- Google Chrome 45
- Edge 12 and above
- Firefox 48 and above
- Opera 32 and above
- Safari 9 and above
Please Login to comment...