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 |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India