wiki/content/20201113095226-object_keys.md

17 lines
274 B
Markdown
Raw Normal View History

2024-05-06 20:40:05 +00:00
---
2024-10-29 18:27:12 +00:00
date: 2020-11-13
2024-05-06 20:40:05 +00:00
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}));
```