JS_TEST Telegram 4797
❗️Что будет на выходе:
const config = {
port: 0,
timeout: null,
retries: '',
cache: false,
debug: undefined
};

const port = config.port ?? 3000;
const timeout = config.timeout ?? 5000;
const retries = config.retries ?? 3;
const cache = config.cache ?? true;
const debug = config.debug ?? false;

console.log([port, timeout, retries, cache, debug]);

Ответ:
[0, 5000, '', false, false]

JavaScript test | #JavaScript



tgoop.com/js_test/4797
Create:
Last Update:

❗️Что будет на выходе:

const config = {
port: 0,
timeout: null,
retries: '',
cache: false,
debug: undefined
};

const port = config.port ?? 3000;
const timeout = config.timeout ?? 5000;
const retries = config.retries ?? 3;
const cache = config.cache ?? true;
const debug = config.debug ?? false;

console.log([port, timeout, retries, cache, debug]);

Ответ:
[0, 5000, '', false, false]

JavaScript test | #JavaScript

BY JavaScript test


Share with your friend now:
tgoop.com/js_test/4797

View MORE
Open in Telegram


Telegram News

Date: |

Activate up to 20 bots Invite up to 200 users from your contacts to join your channel When choosing the right name for your Telegram channel, use the language of your target audience. The name must sum up the essence of your channel in 1-3 words. If you’re planning to expand your Telegram audience, it makes sense to incorporate keywords into your name. With the “Bear Market Screaming Therapy Group,” we’ve now transcended language. Select: Settings – Manage Channel – Administrators – Add administrator. From your list of subscribers, select the correct user. A new window will appear on the screen. Check the rights you’re willing to give to your administrator.
from us


Telegram JavaScript test
FROM American