Closed KirillGrishin closed 12 years ago
I think collection's concat() method is not operating as it should:
collection12 = new Serenade.Collection([1,2]) collection3 = new Serenade.Collection([3]) console.log(collection12.concat(collection3));
The result of the above is [1, 2, [3]] when the expected result is [1, 2, 3]
Yes, I just verified this. It is indeed a bug. It works as expected with arrays.
I think collection's concat() method is not operating as it should:
collection12 = new Serenade.Collection([1,2]) collection3 = new Serenade.Collection([3]) console.log(collection12.concat(collection3));
The result of the above is [1, 2, [3]] when the expected result is [1, 2, 3]