Package Exports
- should-equal
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (should-equal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
equal
Deep equality comparison implementation for should.js
Function return an object that have result of comparison and description of fail:
> var a = {a:1,b:2,c:3,d:4,e:5,f:6,g:7,h:8,i:9,j:10},
... b = {a:1,b:2,c:3,d:4,e:5,f:6,g:7,h:7,i:9,j:10};
undefined
> eql(a, b);
{ result: false,
path: [ 'h' ],
reason: 'A and B are not equal',
a: 8,
b: 7 }