Update 'utils.js'

Utility Function for returning
master
Steve L. Nyemba 7 years ago
parent 7a31930840
commit 850f33f29b

@ -62,6 +62,15 @@ jx.utils.keys=function(rec){
}
return keys ;
}//-- end jx.utils.keys
jx.utils.values = function(rec){
var r = []
for(id in rec){
var value = rec[id]
r.push(value)
}
return r
}
/**
* This function will returnt he unique elements of a list
* @param list list of elements (duplicates are expected)

Loading…
Cancel
Save