Please open Telegram to view this post
VIEW IN TELEGRAM
π€£93 7β€4π3π€©2π€1
CHALLENGE β
function asyncQuiz() {
return new Promise((resolve) => {
setTimeout(() => resolve('Hello'), 1000);
});
}
async function runAsyncQuiz() {
const result = await asyncQuiz();
console.log(result);
}
runAsyncQuiz();
console.log('World');Please open Telegram to view this post
VIEW IN TELEGRAM
π11
β€22 12π€9
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£99 12π5π€3π€©3
var a = 1;
function scopeQuiz() {
console.log(a);
var a = 2;
}
scopeQuiz();
Please open Telegram to view this post
VIEW IN TELEGRAM
π€23π13β€7 2
π€34 8π6β€4π€©1
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£98π13 9π€5β€1π€©1
function delayedLog(item) {
setTimeout(() => {
console.log(item);
}, 1000);
}
for (var i = 0; i < 3; i++) {
delayedLog(i);
}
Please open Telegram to view this post
VIEW IN TELEGRAM
π13 13β€9π€£8π€1
A mature, rich set of open source UI components for Vue developers we first mentioned a few years ago. This new release includes components to enter one time passwords and a βstepperβ for wizard-style workflows. Thereβs also a new optional declarative syntax for using components that makes their code easier to read and write.
PRIMETEK
Please open Telegram to view this post
VIEW IN TELEGRAM
var a = 1;
const arrowQuiz = () => {
console.log(this.a);
};
arrowQuiz();
var a = 2;
Please open Telegram to view this post
VIEW IN TELEGRAM
π17β€3π€©2π€1
π€30π7π€£3
Graphviz is a suite of open source graph drawing tools of some 30+ yearsβ vintage. Viz.js is a WebAssembly Graphviz build that brings some of its functionality into the browser, as seen in the homepage's live demo (above). GitHub repo.
MICHAEL DAINES
Please open Telegram to view this post
VIEW IN TELEGRAM
β€11 3π2
const x = [1, 2, 3];
const y = x;
y.push(4);
console.log(x.length);
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£14 14π6β€1
What is the output?
Anonymous Quiz
30%
3
57%
4
8%
TypeError: console.log is not a function
5%
ReferenceError: x is not defined
π€£17π12π€©6β€2π€2
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£82β€8 6π€©5π€3
const obj = { a: 1, b: 2, c: 3 };
const result = Object.values(obj).reduce((acc, curr) => acc * curr, 1);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
π6
π€22π€£12 12π2
In this article, I will show you how to do a graceful shutdown in a NodeJS application, but first, let's describe what "graceful shutdown" means and why we need to do that in our application and what are the benefits.
nairihar
Please open Telegram to view this post
VIEW IN TELEGRAM
β€14π9 5
const person = { name: 'John', age: 30 };
const { name, ...rest } = person;
console.log(rest);
Please open Telegram to view this post
VIEW IN TELEGRAM
What is the output?
Anonymous Quiz
51%
{ age: 30 }
9%
{ name: 'John' }
32%
{ name: 'John', age: 30 }
9%
John
π15π€10 7π€£3