mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 14:05:09 +00:00
Fix linting, warnings, add noinspection suppression comments.
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
|
||||
function arrayDiffer(a, b) {
|
||||
/*eslint eqeqeq:0*/
|
||||
if (a == null || b == null) {
|
||||
if (!a || !b) {
|
||||
return true;
|
||||
}
|
||||
if (a.length !== b.length) {
|
||||
return true;
|
||||
}
|
||||
for (var i = 0; i < a.length; i++) {
|
||||
for (let i = 0; i < a.length; i++) {
|
||||
if (a[i] !== b[i]) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user