# Object.keys ## Function Returns an array of object key names. ## Syntax ```bt object.keys() ``` ## Parameters No parameters. ## Return value | Type | Description | | ------ | ------ | | Array | Returns a string array of key names. | ## Example ```bt user = {name: 'BT', age: 1} result = user.keys() // Output: ["name","age"] print result ``` ## Notes - Key order maintains the current insertion order of objects.