Everything to ES2020

This commit is contained in:
the-djmaze 2024-04-02 22:24:53 +02:00
parent 84ffe1e552
commit 78178ecc2f
16 changed files with 35 additions and 45 deletions

View file

@ -131,7 +131,7 @@ export class AbstractFetchRemote
fetchJSON(sAction, getURL(sGetAdd),
sGetAdd ? null : (params || {}),
undefined === iTimeout ? 30000 : pInt(iTimeout),
pInt(iTimeout ?? 30000),
async data => {
let iError = 0;
if (data) {