Курс «JavaScript»
Строки из уроков курса. Подходит, чтобы повторить материал курса вне обучения.
Что внутри
let x = 0; const x = 1; var x = 2; if (x) { } else { } if (x) { } else { } if (x) { } if (a) { } else if (b) { } for (let i = 0; i < 5; i++) { } for (let i = 0; while (x > 0) { x--; } while (x > 0) { x--; } while (x > 0) for (const item of list) { } for (const key in obj) { } function fn() { return null; } function fn() { return return value; true false null undefined break; continue; switch (x) { case 1: break; } switch (x) { case 1: do { x++; } while (x < 3); let n = 0; for (let i = 0; i < 3; i++) { n++; } let n = 0; if (user) { return user.name; } else { return null; } for (const item of items) { if (item) { count++; } } x === y x !== y x == y a && b a || b !value x ?? y ok ? "yes" : "no" x += 1 x -= 1 count++ typeof x x instanceof Array void 0 "key" in obj if (x === null || x === undefined) { return; } if (x === const val = input ?? defaultVal; const val = input ?? return ok ? getData() : null; "hello" 'world' `text` "a" + "b"
Показаны первые 40 из 210.
Рекорды
Здесь ещё никто не заезжал
В режиме «безошибочный» по этому словарю рекордов пока нет. Первый результат будет вашим.
Рекорды сохраняются у зарегистрированных. Войти.