TGViewer
Channel Public Channel
WebDEV

WebDEV

@webb_dev

Сообщество веб-разработчиков.

На канале можно найти: видео-уроки, полезные статьи, новости из мира IT и веб-разработки.

Ссылка: @Portal_v_IT

Сотрудничество: @oleginc, @tatiana_inc

Канал на бирже: telega.in/c/webb_dev

РКН: clck.ru/3L2oTf
Subscribers
8.3K
Photos
2.3K
Videos
17
Links
3K

Showing posts older than #5674 · Back to latest

Older Posts 20 shown
Post #5672 420
const arr = [1, NaN, 3];
const found1 = arr.includes(NaN);
const found2 = arr.indexOf(NaN);
console.log(found1, found2);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5670 411
const numbers = [5, 10, 15, 20];
const index = numbers.findLastIndex(n => n > 12);
console.log(index, numbers[index]);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5668 427
.list li:first-of-type {
color: red;
}
.list li:last-of-type {
color: blue;
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5666 424
const user = { name: 'Alice' };
const { name, age = 25, city = 'NY' } = user;
console.log(age, city);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5664 423
const regex = /\d+/g;
const str = 'abc123def456';
console.log(regex.test(str), regex.test(str));


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5662 405
.element {
position: absolute;
inset: 20px;
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5660 406
const arr = [1, 2, 3, 4, 5];
const result = arr.at(-2);
arr.push(6);
console.log(result);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5658 405
const text = 'apple,banana,cherry';
const arr = text.split(',');
const joined = arr.join(' - ');
console.log(joined);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5656 411
:root {
--spacing: 10px;
}
.box {
padding: calc(var(--spacing) * 2);
margin: calc(var(--spacing) / 2);
}


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5654 421
async function test() {
const result = await Promise.resolve(10);
return result * 2;
}
test().then(value => console.log(value));


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →