diff --git a/Foundation/CPDictionary.j b/Foundation/CPDictionary.j index 105b2c711..3844274bb 100755 --- a/Foundation/CPDictionary.j +++ b/Foundation/CPDictionary.j @@ -543,9 +543,9 @@ var keys = [self allKeys], index = count, - objects = []; + objects = new Array(count); - while (count--) + while (index--) objects[index] = [self objectForKey:keys[index]]; aState.items0 = objects;