mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 21:16:21 +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]
|
||
|
```
|