prototypejs' values method extends JavaScript's builtin Object object. There's nothing stopping you from doing the same:
Object.values = function(object) {
var values = [];
for(var property in object) {
values.push(object[property]);
}
return values;
}
var foo = {a:1, b:2, c:3};
console.log(Object.values(foo));
// [1, 2, 3]
Alternatively, you can add the method described above to the jQuery object if you'd rather not tamper with Object:
$.values = function() { ... }