Javascript Quizzes You Can't Solve
Đặng Đình Sáng
Posted on July 1, 2024
Q1
console.log(018 - 015);
console.log("018" - "015");
Q2
const isTrue = true == [];
const isFalse = true == ![];
console.log ( isTrue + isFalse);
Q3
console.log(3 > 2 > 1);
Q4
console.log(typeof typeof 1);
Q5
console.log(('b' + 'a' + + 'a' + 'a').toLowerCase());
Q6
console.log(typeof NaN);
Q7
console.log(0.1 + 0.2 == 0.3);
Q8
const numbers = [33, 2, 8];
numbers.sort();
console.log(numbers[1])
Conclusion
What percentage of the eight questions were correct?
If you get all of them right, please leave a comment!
Ref
💖 💪 🙅 🚩
Đặng Đình Sáng
Posted on July 1, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.