On Jun 19, 3:31 pm, Mark Volkmann <r.mark.volkm...@gmail.com> wrote: > Why does the second assert below fail?
The reason is that deepEqual checks the number and values of Object.keys() for arrays. For [,5] there is only one key, '1.' For [undefined,5] there is two keys, '0' and '1.' Therefore the number of keys does not match, which causes the assert to fail. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en