web: (ESLint) Consistent use of triple-equals. (#14554)

web: Consistent use of triple-equals.
This commit is contained in:
Teffen Ellis
2025-05-19 19:25:11 +02:00
committed by GitHub
parent 1a80353bc0
commit d97297e0ce
15 changed files with 18 additions and 18 deletions

View File

@ -22,6 +22,6 @@ export function randomId() {
return "xxxxxxxx".replace(/x/g, (c) => {
const r = (dt + Math.random() * 16) % 16 | 0;
dt = Math.floor(dt / 16);
return (c == "x" ? r : (r & 0x3) | 0x8).toString(16);
return (c === "x" ? r : (r & 0x3) | 0x8).toString(16);
});
}