Аватар канала JavaScript test
TG

JavaScript test

Telegram · js_test
Проверка своих знаний по языку JavaScript. Ссылка: @Portal_v_IT Канал на бирже РКН: clck.ru/3KHeYk
Подписчиков9 770
Охват поста240
Коэффициент охвата2,5%
Постов за месяц 19 последний 21 сентября 2026
Рекламных постов 0 0,0% ленты
Прирост аудитории −2,2% за 90 дней
Тематики

Динамика подписчиков

с 20 июля 2026 по 28 сентября 2026 · минимум 9 770 · максимум 9 990

Кто рекламировался за полгода

ИП · ОГРНИП 313774608601167 · последний пост 2 июля 2026
ИП · ОГРНИП 324400000039722 · последний пост 22 мая 2026

Рекламодатель определён по маркировке рекламы в постах канала.

Публикации

Оригинал

❗️ Что будет на выходе ? async function test() { console.log('1'); setTimeout(() => { console.log('2'); }, 0); await Promise.resolve(); console.log('3'); new Promise(resolve => { console.log('4'); resolve(); }).then(() => { console.log('5'); }); console.log('6'); } test(); console.log('7'); Ответ: 1 7 3 4 6 5 2 JavaScript test | #JavaScript & Max

92 просмотров
Оригинал

❓ Что будет на выходе? 'use strict'; function strictModeExample() { undeclaredVariable = 10; try { console.log(undeclaredVariable); } catch (e) { console.log('Error:', e.message); } } strictModeExample(); Ответ: Error: undeclaredVariable is nit defined JavaScript test | #JavaScript & Max

138 просмотров
Оригинал

❗️ Что будет на выходе ? async function test() { console.log('1'); setTimeout(() => { console.log('2'); }, 0); await Promise.resolve(); console.log('3'); new Promise(resolve => { console.log('4'); resolve(); }).then(() => { console.log('5'); }); console.log('6'); } test(); console.log('7'); Ответ: 1 7 3 4 6 5 2 JavaScript test | #JavaScript & Max

200 просмотров
Оригинал

❗️ Что будет на выходе ? const user = { profile: { name: 'Alice', settings: { notifications: { email: true, sms: false } } }, getPreference(type) { return this.profile?.settings?.notifications?.[type] ?? 'not configured'; } }; const admin = { profile: { name: 'Admin', settings: null }, getPreference: user.getPreference }; console.log(admin.getPreference('email')); Ответ: not configured JavaScript test | #JavaScript…

195 просмотров
Оригинал

❗️ Что будет на выходе ? function* range(start, end) { while (start < end) { yield start++; } } function* evens(iter) { for (const val of iter) { if (val % 2 === 0) yield val; } } function* take(n, iter) { let count = 0; for (const val of iter) { if (count++ >= n) return; yield val; } } function* pipeline() { yield* take(3, evens(range(1, 20))); yield* take(2, range(10, 15)); } const result = [...pipeline()];…

173 просмотров
Оригинал

❗️ Что будет на выходе: const arr = [3, 8, 12]; const even = (elem) => elem % 2 === 0; console.log(arr.map(even)); Ответ: [ false, true, true ] JavaScript test | #JavaScript & Max

190 просмотров
Оригинал

❓ Что будет на выходе? const compose = (...fns) => fns.reduce((f, g) => (...args) => f(g(...args))); const pipe = (...fns) => fns.reduce((f, g) => (...args) => g(f(...args))); const double = x => x * 2; const addTen = x => x + 10; const square = x => x * x; const negate = x => -x; const transform1 = compose(negate, square, addTen, double); const transform2 = pipe(double, addTen, square, negate); const val = 3;…

199 просмотров
Оригинал

❓ Что будет на выходе? const obj1 = { a: 1, b: 2 }; const obj2 = { b: 3, c: 4 }; const mergedObj = { ...obj1, ...obj2 }; console.log(mergedObj); Ответ: { a: 1, b: 3, c: 4 } JavaScript test | #JavaScript & Max

202 просмотров
Оригинал

❓ Что будет на выходе? const curry = (fn) => { const arity = fn.length; return function curried(...args) { if (args.length >= arity) { return fn(...args); } return (...moreArgs) => curried(...args, ...moreArgs); }; }; const volume = (l, w, h) => l * w * h; const curriedVolume = curry(volume); const withLength5 = curriedVolume(5); const withLength5Width3 = withLength5(3); console.log(typeof withLength5);…

220 просмотров
Оригинал

❓ Что будет на выходе? const numbers = [1, 2, 3, 4, 5]; const result = numbers .filter(n => n % 2 === 0) .map(n => n * 2) .reduce((acc, n) => acc + n, 0); console.log(result); Ответ: 12 JavaScript test | #JavaScript & Max

240 просмотров

Похожие каналы