Create a gist now

Instantly share code, notes, and snippets.

var util = {
list: function(variables, values, scope) {
for(var i = 0; i < variables.length && i < values.length; i++){
(scope || this)[variables[i]] = values[i];
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment