Avoid shadowing named functions.

This commit is contained in:
Tobie Langel 2008-12-11 16:55:02 +01:00
parent 86407790d2
commit e5f7cac36f
1 changed files with 6 additions and 6 deletions

View File

@ -48,17 +48,17 @@
}
function keys(object) {
var keys = [];
var results = [];
for (var property in object)
keys.push(property);
return keys;
results.push(property);
return results;
}
function values(object) {
var values = [];
var results = [];
for (var property in object)
values.push(object[property]);
return values;
results.push(object[property]);
return results;
}
function clone(object) {