Logo

Javascript Questions Set 201:

Quiz Mode

How many Node.js nodeType named constants are available?

1
2
3
4

Solution:

How can you set a Cookie's visibility scope to the entire domain?

1
2
3
4

Solution:

Which JavaScript framework is used for Mobile app development ?

1
2
3
4

Solution:

Which method is used to apply the resizable widget on the HTML element?

1
2
3
4

Solution:

What will be the output of the following code?


let i = 5;

const j = 7;

const k = i + j;

console.log(k);


k = i;


console.log(k);


1
2
3
4

Solution:

Where is the external JavaScript placed in the case of lazy loading?

1
2
3
4

Solution:

What is the purpose of the createDocumentFragment() method?

1
2
3
4

Solution:

What will be the output of the following JavaScript code?

function range(int length)

{

int a = 5;

for (int i = 0; i < length; i++)

{

console.log(a);

}

}

range(3);

1
2
3
4

Solution:

What will be the output of the following code?

var i = 1;

while (i >= 1) {

document.write("WELCOME TO ABEKUS");

i--;

var a = i;

}

1
2
3
4

Solution:

Which of the following methods is the best for determining the number of properties in the following object?


var courses = {

       name: 'Javascript', weeksDuration: 5, platform: "ABEKUS"

}

1
2
3
4

Solution: