Question Bank

3705 approved questions from the community

Event delegation allows you to attach a single event listener to a parent element to handle events for multiple child elements.

EASY
TRUE FALSE
25s
Javascript
by Mohamed

Arrow functions have an arguments object.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

isNaN() checks if a value is NaN.

EASY
TRUE FALSE
20s
Javascript
by Mohamed

JSON.stringify() can serialize functions.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

Arrow functions in JavaScript have their own 'this' binding.

EASY
TRUE FALSE
25s
Javascript
by Mohamed

Anonymous functions can only be used as callback functions.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

Which method prevents the default behavior of an event?

EASY
SINGLE CHOICE
25s
Javascript
by Mohamed

ES6 classes are fundamentally different from ES5 function constructors.

MEDIUM
TRUE FALSE
30s
Javascript
by Mohamed

What does Array.prototype.join() do?

EASY
SINGLE CHOICE
25s
Javascript
by Mohamed

What is event capturing?

MEDIUM
SINGLE CHOICE
35s
Javascript
by Mohamed

What is the same-origin policy?

MEDIUM
SINGLE CHOICE
35s
Javascript
by Mohamed

Property descriptors allow you to control the writable, enumerable, and configurable attributes of object properties.

HARD
TRUE FALSE
30s
Javascript
by Mohamed

localStorage data persists even after the browser is closed.

EASY
TRUE FALSE
20s
Javascript
by Mohamed

The const keyword prevents any changes to the variable's value.

EASY
TRUE FALSE
25s
Javascript
by Mohamed

Template literals can span multiple lines without special characters.

MEDIUM
TRUE FALSE
25s
Javascript
by Mohamed

Object.freeze() makes an object completely immutable including nested objects.

EASY
TRUE FALSE
25s
Javascript
by Mohamed

async/await makes asynchronous code look more like synchronous code.

EASY
TRUE FALSE
25s
Javascript
by Mohamed

What are getters and setters used for?

MEDIUM
SINGLE CHOICE
35s
Javascript
by Mohamed

What are proxies in JavaScript used for?

HARD
SINGLE CHOICE
40s
Javascript
by Mohamed

What are Web Workers used for?

HARD
SINGLE CHOICE
40s
Javascript
by Mohamed
PreviousPage 132 of 186Next