express-expose icon indicating copy to clipboard operation
express-expose copied to clipboard

Expose arrays as proper arrays even when they are top level.

Open ForbesLindesay opened this issue 13 years ago • 3 comments

At the moment arrays become objects with indexes 0, 1, 2 etc. This isn't helpful if you then need to do things like iterate over them. This patch fixes that.

ForbesLindesay avatar Apr 03 '12 21:04 ForbesLindesay

thanks! mind adding a test or two?

tj avatar Apr 03 '12 22:04 tj

Done, I'm not sure how to run the tests though.

ForbesLindesay avatar Apr 04 '12 00:04 ForbesLindesay

Please merge this!

rxw1 avatar Dec 12 '12 19:12 rxw1