JS: Update OK-style comments to $-style

This commit is contained in:
Asger F
2025-02-06 13:34:01 +01:00
parent 7e5c24a8ec
commit 9be041e27d
536 changed files with 4408 additions and 4762 deletions

View File

@@ -1,11 +1,11 @@
function defaultParam(param = 0) {
if (param > 0) {} // OK
if (param > 0) {}
}
function defaultPattern(obj, arr) {
let { prop = 0 } = obj;
if (prop > 0) {} // OK
if (prop > 0) {}
let [ elm = 0 ] = arr;
if (elm > 0) {} // OK
if (elm > 0) {}
}