diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-06-10 00:49:44 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-06-10 01:00:03 +0200 |
commit | 887c24b79489fc9403a98a039a9138e48fc147a7 (patch) | |
tree | 607a75e59f7d6592d14a85f42fcefc97d61ce27e /example.html | |
parent | 9922252612b81714ef6e01b46f4744352ca94adb (diff) |
Consolidate comparison with undefined/null.
Replace `a === undefined || a === null` resp. `a !== undefined && a !== null` with
`a == null` resp. `a != null`.
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality .
Relax also some `=== undefined` and `=== null` into `== null` when that
makes sense.
Diffstat (limited to 'example.html')
0 files changed, 0 insertions, 0 deletions