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 #4 ArenaQuiz Quiz #4 By Coding Artist 23rd September 2022 0 393 Share Facebook Twitter Pinterest WhatsApp 130 Created by Coding Artist Quiz #4 1 / 10 let a = NaN;let b = "19";console.log(a + b); nul 19 NaN19 NaN 2 / 10 let a = NaN;let b = 19;console.log(a + b);What will the above code output to the console? null NaN19 19 NaN 3 / 10 const arr = ["Hello", "Hi", "Hey"];arr[0] = "Bye";console.log(arr);What will the above code output to the console? ['Bye', 'Hi', 'Hey'] ["Hello", "Hi", "Hey"] TypeError: Assignment to constant variable. 4 / 10 let arr = [9, 3, 6, 54, 20];arr.sort();console.log(arr);What will the above code output to the console? [3, 6, 9, 20, 54] [9, 6, 54, 3, 20] [54, 20, 9, 6, 3] [20, 3, 54, 6, 9] 5 / 10 let a = "Hello";let b = a.padEnd(8, "o");console.log(b);What will the above code output to the console? Hello oooooooo Helloooo ooooooooHello Hellooooooooo 6 / 10 let a = "Coding Artist";let b = new String("Coding Artist");console.log(a === b);What will the above code output to the console? false true 7 / 10 let a = "Tall";a[0] = "W";console.log(a);What will the above code output to the console? Tall Wall Throws an error 8 / 10 let str = 'That\'s mine';console.log(str);What will the above code output to the console? s mine That's Mine That\ That s mine 9 / 10 let arr1 = [1, 2, 3];let arr2 = [4, 5];console.log(arr1 + arr2);What will the above code output to the console? 1, 2, 34, 5 Throws An Error NaN 1, 2, 3, 4, 5 10 / 10  let a = "Coding Artist"; let b = new String("Coding Artist"); console.log(a == b);What will the above code output to the console? false true Your score is The average score is 44% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Tagscss advanced quizcss basic quizhtml quizhtml quiz bankjavascript advanced quizjavascript quizquiz Share Facebook Twitter Pinterest WhatsApp Previous articleMCQ – 23/9/22Next articleBlack Sheep Animation 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:16 − thirteen = Most Popular 5 Creative Things You Can Do with ::before and ::after in CSS 20th June 2025 How to Create a Responsive Multi-Level Dropdown Menu Using HTML & CSS 2nd June 2025 Build an Image Gallery with Search and Filter Using HTML, CSS, and JavaScript 28th May 2025 Build a Random Joke Generator with HTML, CSS & JavaScript 24th May 2025 Load more