HomeArenaQuiz #4

Quiz #4

129
Created by Coding Artist

Quiz #4

1 / 10

const arr = ["Hello", "Hi", "Hey"];
arr[0] = "Bye";
console.log(arr);
What will the above code output to the console?

2 / 10

let arr1 = [1, 2, 3];
let arr2 = [4, 5];
console.log(arr1 + arr2);
What will the above code output to the console?

3 / 10

let arr = [9, 3, 6, 54, 20];
arr.sort();
console.log(arr);
What will the above code output to the console?

4 / 10

let a = NaN;
let b = "19";
console.log(a + b);

5 / 10

 let a = "Coding Artist";
 let b = new String("Coding Artist");
 console.log(a == b);
What will the above code output to the console?

6 / 10

let str = 'That\'s mine';
console.log(str);

What will the above code output to the console?

7 / 10

let a = "Coding Artist";
let b = new String("Coding Artist");
console.log(a === b);
What will the above code output to the console?

8 / 10

let a = "Tall";
a[0] = "W";
console.log(a);
What will the above code output to the console?

9 / 10

let a = NaN;
let b = 19;
console.log(a + b);
What will the above code output to the console?

10 / 10

let a = "Hello";
let b = a.padEnd(8, "o");
console.log(b);
What will the above code output to the console?

Your score is

The average score is 44%

0%

Previous articleMCQ – 23/9/22
Next articleBlack Sheep Animation
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

5 × four =

Most Popular