substack/difflet — pull request #18 by benkitzelman (2013-11-21 01:28:14+00:00)
Title: Added support for comparing content of nested arrays

When comparing two objects with nested arrays, difflet fails to detail differences if the comparison objects array is empty.. ie:

```
var subjectA = {
levelOne: {
levelTwo: {
array: ['a', 'b', 3]
}
}
};

var subjectB = {
levelOne: {
levelTwo: {
array: []
}
}
};

diff.compare(subjectA, subjectB); // No diffs reported
```

This pull requests lists the missing elements if any elements are missing from the source, or comparison object's arrays