forked from actions/setup-maven
13 lines
294 B
JavaScript
13 lines
294 B
JavaScript
import keys from './keys.js';
|
|
|
|
// Retrieve the values of an object's properties.
|
|
export default function values(obj) {
|
|
var _keys = keys(obj);
|
|
var length = _keys.length;
|
|
var values = Array(length);
|
|
for (var i = 0; i < length; i++) {
|
|
values[i] = obj[_keys[i]];
|
|
}
|
|
return values;
|
|
}
|