Sign in Welcome! Log into your account your username your password Forgot your password? Get help Password recovery Recover your password your email A password will be e-mailed to you. HomeArenaQuiz #2 ArenaQuiz Quiz #2 By Coding Artist 22nd August 2022 0 480 Share Facebook Twitter Pinterest WhatsApp 143 Created on August 21, 2022 By Coding Artist Quiz #2 1 / 10 let a = Math.max();console.log(a);What will the above code output to the console? NaN -Infinity Infinity null 2 / 10 console.log(age);let age = "25";What will the above code output to console? 25 undefined Throws a reference error null 3 / 10  var myMonth = "1"; var month = myMonth === 0 ? "Jan" : myMonth === 1 ? "Feb" : myMonth === 2 ? "Mar : "NA"; console.log(month);What will the above code output to the console? Feb Mar Jan NA 4 / 10 let a = true + false + true * 5;console.log(a);What will the above code output to the console? 10 NaN 6 5 5 / 10 var p = 5;var q = p++;console.log(q);What will the above code output to the console? null NaN 5 6 6 / 10 let x, y;[x = 1, y = 3] = [5];console.log(x, y); 5 null 1 3 5 3 null 5 7 / 10 var myAr = [10, 20, 30, 40];var newMyAr = [0, ...myAr, 50];console.log(newMyAr); [0,[10, 20, 30, 40, 50] [0, [10, 20, 30, 40], 50] [0, 10, 20, 30, 40, 50] 8 / 10 let a = null;let b = null;let c = a + b;console.log(c); 0 nullnull null NaN 9 / 10 function myFunc() {  return [10, 20, 30];}[i, , j] = f1();console.log(i, j);What will the above code output to the console? 10 20 20 30 20 10 10 30 10 / 10 let x = Number("123abc");console.log(x);What will the above code output to the console? NaN Throws Error abc 123 Your score is The average score is 37% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Tagscss advanced quizcss basic quizcss fundamentals quizcss quizcss quiz bankjavascript advanced quizjavascript quizquiz Share Facebook Twitter Pinterest WhatsApp Previous articleMCQ – 22/8/22Next articleRandom User Card Generator With Javascript Coding Artist RELATED ARTICLES Arena Javascript Quiz For Intermediates 24th July 2023 Arena Javascript Quiz For Beginners 16th July 2023 Arena MCQ – 10/2/23 10th February 2023 LEAVE A REPLY Cancel reply Comment: Please enter your comment! Name:* Please enter your name here Email:* You have entered an incorrect email address! Please enter your email address here Website: Save my name, email, and website in this browser for the next time I comment. Please enter an answer in digits:3 × five = Most Popular Build a Random Riddle Generator with HTML, CSS, and JavaScript 21st February 2025 💌 Create a Custom Greeting Card Maker with HTML, CSS, and JavaScript 17th February 2025 Create a Fun Fortune Cookie App with HTML, CSS, and JavaScript 14th February 2025 Creating a 5-Star Rating System with HTML, CSS, and JavaScript 12th February 2025 Load more