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

Open
wants to merge 4 commits into
from

Projects

None yet

3 participants

@ForbesLindesay

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.

@tj
expressjs member
tj commented Apr 3, 2012

thanks! mind adding a test or two?

@ForbesLindesay

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

@rwilhelm

Please merge this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment