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)?
