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 495 Share Facebook Twitter Pinterest WhatsApp 143 Created on August 21, 2022 By Coding Artist Quiz #2 1 / 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 Jan NA Mar 2 / 10 function myFunc() {  return [10, 20, 30];}[i, , j] = f1();console.log(i, j);What will the above code output to the console? 10 30 20 10 10 20 20 30 3 / 10 let x, y;[x = 1, y = 3] = [5];console.log(x, y); null 5 5 null 1 3 5 3 4 / 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] 5 / 10 let a = null;let b = null;let c = a + b;console.log(c); nullnull 0 NaN null 6 / 10 let x = Number("123abc");console.log(x);What will the above code output to the console? Throws Error abc 123 NaN 7 / 10 let a = true + false + true * 5;console.log(a);What will the above code output to the console? 6 5 NaN 10 8 / 10 console.log(age);let age = "25";What will the above code output to console? null undefined 25 Throws a reference error 9 / 10 let a = Math.max();console.log(a);What will the above code output to the console? null Infinity -Infinity NaN 10 / 10 var p = 5;var q = p++;console.log(q);What will the above code output to the console? NaN null 5 6 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:17 + 18 = Most Popular Build a Fun Balloon Pop Game Using HTML, CSS, and JavaScript 3rd July 2025 Build an Analog Clock with HTML, CSS, and JavaScript 3rd July 2025 Responsive Pricing Cards with Hover Effect Using HTML and CSS 2nd July 2025 Flashlight Effect With HTML, CSS and Javascript 1st July 2025 Load more