Skip to content
Subhajit Sahu edited this page Dec 8, 2022 · 13 revisions

List all values.

Similar: keys, values, entries.


function values(x)
// x: an object
const object = require('extra-object');

var x = {a: 1, b: 2, c: 3};
object.values(x);
// → [ 1, 2, 3 ]


References

Clone this wiki locally