JavaScript handler.ownKeys() MethodThe handler.ownKeys() method of JavaScript is used to return an enumerable object. This method is a trap for Reflect.ownKeys(). SyntaxParameterstarget: The target object. Return valueReturn an enumerable object. Browser Support
Example 1Test it NowOutput: Use handler.ownKeys() is a,b,c Example 2Test it NowOutput: Age Count Example 3Test it NowOutput: in ownKeys method foo in ownKeys method foo,variable
Next TopicJavaScript handler
|