CoderMantra

Menu
  • Home
  • Quiz
  • How-To
  • Q/A
  • Blog

JQJ

0%
6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

jqj

1 / 30

The ________ operator in JavaScript returns "object" for arrays.

2 / 30

 What will be the output of the following JavaScript code?
function myfun()
{
var a = "";
document.getElementById ("demo").innerHTML = Boolean(a);
}

3 / 30

JavaScript allows you to work with __________ primitive data types.

4 / 30

Consider the JavaScript code:
Identify the value that will be displayed in alert box at line 5?function lfc(myname){
console.log(10+"lfc" +12);
}
res=lfc(10);
console.log(res); //line 5

5 / 30

Array indexes start with ______.

6 / 30

A ___________ has global scope which means it can be defined anywhere in your JavaScript code.

7 / 30

The easiest way to add a new element to an array is using the _________ method

8 / 30

When you invoke the........ method on a function f and pass an object o, the method returns a new function.

9 / 30

The HTML DOM is a standard object model and programming interface for HTML.

10 / 30

 _________ cannot accept negative indexes.

11 / 30

JavaScript counts positions from?

12 / 30

Logical AND : If both the operands are non-zero, then the condition becomes true.

13 / 30

The _________ keyword complicates the code and slows down execution speed

14 / 30

The regular expression to match any one character not between the brackets is __________

15 / 30

The ________ operator is used to create an instance of an object.

16 / 30

If var A={B:3, C:5}, how to use the delete operator to delete one of the properties of an objec

17 / 30

What is the full form DOM?

18 / 30

Which operator will return false if two value are equal?

19 / 30

Storing a value in a variable is called ?

20 / 30

What will be the output of the below code?
let chaval= (p)=>p+2;
console.log(chaval(2));

21 / 30

What will be printed in the console on execution of the below code?
var materials = [
'Hydrogen',
'Helium',
'Lithium',
'Beryllium'
];
console.log(materials.map (material => material.length));

22 / 30

 Which of the following is a syntactically correct for loop?

23 / 30

_______ extracts a part of a string and returns the extracted part in a new string.

24 / 30

which operator outputs the remainder of an integer division?

25 / 30

What will be the output if we compare "ten" and 10 with less then comparison operator("ten"<10)?

26 / 30

If the operator value is null, then the unary operator returns the typeof _________.

27 / 30

 What will be printed in the console on execution of the following JS code:
var array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
var myArr= array.filter(v => v % 3 === 0);
console.log(myArr);

28 / 30

The statement is an example of:
while (3==3) {}

29 / 30

What will be the output of the below code ?
console.log( typeof( '5' + 5))

30 / 30

What is true about Arrays?

Your score is

LinkedIn Facebook VKontakte
0%

By Wordpress Quiz plugin

Category

  • AI
  • AI Tools
  • Assignments
    • C Language Assignments
    • C++ Assignments
    • Java Assignments
    • Python Assignments
  • C Programming
  • c-plus-plus-Assignments
  • C++
  • Career & Skills
  • Coding + AI
  • Core Java
  • Data Structure
  • Data Structure In C++
  • data structures
  • How To
  • Java-Assignments
  • node js questions
  • nodejs assignments
  • nodejs Projects
  • Practice Questions
  • Python Tutorial
  • Python-Assignments
  • Questions
  • Quiz
  • sql-functions
  • SQL-Tutorial
  • Tkinter Tutorial
  • Uncategorized
  • What Is
  • Why

Archives

  • April 2026
  • March 2026
  • February 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • July 2025
  • April 2025
  • October 2024
  • September 2024
  • June 2024
  • April 2024
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • May 2022
  • November 2021
  • May 2021
  • March 2021
  • November 2020
  • October 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • September 2019
  • August 2019
  • May 2019
  • March 2019
  • February 2019
  • January 2019
About CoderMantra

Coder Mantra is a unique e-learning website, offers a tutorial of different popular programming languages with examples. The code on this popular tutorial website is tested and executed.

Latest Posts
Freelancing Using AI: Step-by-Step Roadmap for Beginners (2026 Guide) April 6, 2026
How to Earn Money Using AI Tools April 5, 2026
Top Skills to Learn in 2026 for Students (Future-Proof Career Guide) April 4, 2026
How to Learn Python Faster Using ChatGPT March 24, 2026
Contact Us

info@codermantra.com

admin@codermantra.com

© 2020 Coder Mantra . All Rights Reserved
About | Privacy Policy | Terms | Contact