mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
15 lines
222 B
Markdown
15 lines
222 B
Markdown
|
---
|
||
|
id: 2e9254e9-0f90-404e-8f94-0b92d8355a0d
|
||
|
title: Object.values
|
||
|
---
|
||
|
|
||
|
# Description
|
||
|
|
||
|
Returns [object](20200826201605-objects) values
|
||
|
|
||
|
# Syntax
|
||
|
|
||
|
``` javascript
|
||
|
console.log(Object.values({ one: 1, two: 2 })); // [1, 2]
|
||
|
```
|