Adjust stackSet array length check to be consistent with others like it.

This commit is contained in:
John-David Dalton
2015-10-04 21:39:43 -07:00
parent 2740dc5efa
commit 0eaa10f578

View File

@@ -1986,7 +1986,7 @@
array = data.array;
if (array) {
if (array.length < LARGE_ARRAY_SIZE) {
if (array.length < (LARGE_ARRAY_SIZE - 1)) {
assocSet(array, key, value);
} else {
data.array = null;