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 #5734 · Back to latest

Older Posts 20 shown
Post #5733 418
const a = {};
const b = { key: "b" };
const c = { key: "c" };

a[b] = 123;
a[c] = 456;

console.log(a[b]);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5731 411
div {
width: 100px;
height: 100px;
background: red;
display: none;
}
/* Будет ли элемент занимать место на странице? */


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5729 395
async function getData() {
return "Hello";
}
console.log(getData());


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5727 417
const a = [1, 2, 3];
const b = a.map(num => {
if (num > 1) return num;
});
console.log(b);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5725 383
div {
display: flex;
justify-content: center;
}
/* Как будут выровнены элементы? */


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5723 371
const user = { name: "Alice" };
Object.freeze(user);
user.name = "Bob";
console.log(user.name);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5721 361
const bird = {
size: 'small'
};

const mouse = {
name: 'Mickey',
small: true
};

console.log(mouse[bird.size]);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5719 364
.parent {
display: flex;
height: 200px;
}
.child {
height: 50%;
flex-grow: 1;
}
/* Какая высота будет у .child? */


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5717 364
let count = 0;
const nums = [0, 1, 2, 3];

nums.forEach(num => {
if (num) count += 1;
});

console.log(count);


WebDEV #test #Frontend

Выберите правильный вариант 👇🏼
Post #5715 371
console.log(1);
setTimeout(() => console.log(2), 0);
Promise.resolve().then(() => console.log(3));
console.log(4);


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 →