web: (ESLint) Consistent use of triple-equals. (#14554)
web: Consistent use of triple-equals.
This commit is contained in:
@ -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);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user