Which property is used to create space inside an element between its content and its border?
Anonymous Quiz
18%
margin
12%
border
66%
padding
4%
width
👏3👍2🔥1
What will this code output? Spot the bug.
Difficulty: Hard😤
Difficulty: Hard😤
for (var i = 0; i < 5; i++) {
setTimeout(function() {
console.log(i);
}, 1000);
}Which of the following creates a true copy of the object obj in JavaScript?
Anonymous Quiz
24%
let newObj = [...obj];
39%
let newObj = Object.assign({}, obj);
20%
let newObj = obj;
18%
let newObj = obj.clone();
Choose the correct HTML element to define important text
Anonymous Quiz
18%
<important>
15%
<b>
14%
<i>
53%
<strong>
Spread Operator in Depth
Ecmascript 2015 or ES6 is the sixth major edition of Ecmascript language specification standard. It bought significant changes to Javascript language.
Ecmascript 2015 or ES6 is the sixth major edition of Ecmascript language specification standard. It bought significant changes to Javascript language.
👍2🔥1
What will this code output? Spot the bug.
Difficulty: Hard😤
Difficulty: Hard😤
for (var i = 0; i < 5; i++) {
setTimeout(function() {
console.log(i);
}, 1000);
}Which CSS property controls the text size?
Anonymous Quiz
4%
font-style
5%
text-style
79%
font-size
12%
text-size
Which JavaScript method is used to remove the last element from an array?
Anonymous Quiz
23%
shift()
18%
splice()
15%
slice()
44%
pop()