Signup/Sign In

Guess the Output - Part 7 Test

JavaScript Avg. Score: 1.32 2075 Intermediate
Q.1 What will be the output of the following code snippet?
console.log(!{} == ![]);
Q.2 What will be the output of the following code snippet?
console.log([] + {});
Q.3 What will be the output of the following code snippet?
console.log([] + null + 1);
Q.4 What will be the output of the following code snippet?
function sum(a,a,c) {
    return a+a+c
}

console.log(sum(1,2,3))
Q.5 What will be the output of the following code snippet?
"use strict";

const myObj = { id: 10, id: 20 };

console.log(myObj)

Studytonight logo

Find me on YouTube

I make videos for Fullstack Dev, AWS, Ethical Hacking and Foundational stuff.