mirror of
https://github.com/stCarolas/setup-maven.git
synced 2024-11-26 21:26:07 +08:00
17 lines
329 B
JavaScript
17 lines
329 B
JavaScript
define(['./keys'], function (keys) {
|
|
|
|
// Retrieve the values of an object's properties.
|
|
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;
|
|
}
|
|
|
|
return values;
|
|
|
|
});
|