mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Comment typo
This commit is contained in:
1 parent
00fe66ddec
commit
4c2f124aa8
1 file changed
+1
-1
@@ -37,7 +37,7 @@ function shallowEqual(objA, objB) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Test for B'a keys missing from A.
|
||||
// Test for B's keys missing from A.
|
||||
for (key in objB) {
|
||||
if (objB.hasOwnProperty(key) && !objA.hasOwnProperty(key)) {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user