Fix typo a => b

This commit is contained in:
Robert Brignull 2017-05-07 23:10:27 +01:00 committed by Logan Smyth
parent 6646707e01
commit 5633e3c4f6

View File

@ -245,7 +245,7 @@ export function isImmutable(node: Object): boolean {
*/
export function isNodesEquivalent(a, b) {
if (typeof a !== "object" || typeof a !== "object" || a == null || b == null) {
if (typeof a !== "object" || typeof b !== "object" || a == null || b == null) {
return a === b;
}