Fixed linter errors
parent
74d100eaf7
commit
d50e33e1da
|
@ -6,7 +6,7 @@
|
||||||
function singleOccurringElement(arr) {
|
function singleOccurringElement(arr) {
|
||||||
let result = 0;
|
let result = 0;
|
||||||
for (const el of arr) {
|
for (const el of arr) {
|
||||||
result ^= el;
|
result ^= el;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue