How to return all the values of an object into an array (using one line of code)?

how can I return all the values of an object into an array:

var obj = {a: "123", b: "234", c: "offer"}

I mean to use a very simple method (such as one line of code to do it), but not to use a for loop.

Apr.11,2021
For

ES2017, you can use
Object.values


const arr = Object.values (obj)


Object.keys(obj).map(function(v) {return obj[v];})

or

Object.values(obj)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f5df-2c47e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f5df-2c47e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?