Full Stack Camp
Открыть в Telegram
Fullstack Camp | Learn. Build. Launch. Join us for a hands-on journey through HTML, CSS, JavaScript, React, Node.js, Express & MongoDB — all in one place. Use this bot to search for lessons. @FullstackCamp_assistant_bot DM: @Tarikey6
БольшеСтрана не указанаКатегория не указана
235
Подписчики
-124 часа
Нет данных7 дней
+330 дней
Архив постов
23. What will this output?
class Animal { constructor(name) { this.name = name; } }
const a = new Animal("Dog"); console.log(typeof a);
21. What will this output?
Promise.resolve(1)
.then(x => x + 1) .then(x => { throw new Error("Oops") }) .catch(err => 999) .then(x => console.log(x));
18. What will this print?
const obj = { name: "Code", greet: () => console.log(this.name) };
obj.greet();
17. What will this output?
for (var i = 0; i < 3; i++) { setTimeout(() => console.log(i), 100); }
16. What will this output?
for (let i = 0; i < 3; i++) { setTimeout(() => console.log(i), 100); }
10. What will this print?
setTimeout(() => console.log("Hello"), 0);
console.log("World");
7. What does this refer to inside a regular function (not strict mode)?
