You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deepDiffer code triggers "Your code is broken" warnings about for...in Array iteration #870
This code in Libraries/Utilities/differ/deepDiffer.js triggers the warning mentioned in #869
for(varkeyinone){if(deepDiffer(one[key],two[key])){returntrue;}}for(vartwoKeyintwo){// The only case we haven't checked yet is keys that are in two but aren't// in one, which means they are different.if(one[twoKey]===undefined&&two[twoKey]!==undefined){returntrue;}}
Activity
sophiebits commentedon Apr 16, 2015
Dupe of #868, it looks like.