mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
15 lines
257 B
Markdown
15 lines
257 B
Markdown
---
|
|
id: e398afb7-a05b-4780-a3fb-8445f4196c31
|
|
title: Object.keys
|
|
---
|
|
|
|
# Description
|
|
|
|
`Object.keys` returns the [object](20200826201605-objects) property
|
|
names as an array of strings
|
|
|
|
# Syntax
|
|
|
|
``` javascript
|
|
console.log(Object.keys({x: 0, y: 0, z: 2}));
|
|
```
|