MCPcopy Create free account
hub / github.com/microsoft/SandDance / equalArray

Function equalArray

docs/tests/v2/es6/js/sanddance.js:130437–130443  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

130435}
130436
130437function equalArray(a, b) {
130438 for (let i = 0, n = a.length; i < n; ++i) {
130439 if (!equal(a[i], b[i])) return false;
130440 }
130441
130442 return true;
130443}
130444
130445function equalObject(a, b) {
130446 for (let key in a) {

Callers 1

equalFunction · 0.70

Calls 1

equalFunction · 0.70

Tested by

no test coverage detected