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 #9 ArenaQuiz Quiz #9 By Coding Artist 5th December 2022 0 293 Share Facebook Twitter Pinterest WhatsApp 77 Created by Coding Artist Quiz #9 1 / 10 let nums = [8, 3, 4, 6][8, 3, 4, 6];let vals = nums.filter((item) => item % 2 == 0);console.log(vals); [8, 3, 4, 6] [8] [3] [8, 4, 6] 2 / 10 let myDetails = { firstName: "Mitali", lastName: "J",};console.log(myDetails["lastName"]);What will the above code output to the console? J Thrwos a reference error undefines Mitali 3 / 10 console.log(mul(1, 3));var mul = (x, y) => { return x + y;};What will the above code output to the console? Throws type error Throws reference error undefined 3 4 / 10 console.log(add(5, 3));let add = (a, b) => { return a + b;};What will the above code output to the console? 8 null Throws reference error undefined 5 / 10 let nums = [1, 2, 3, 4];nums.map((num) => num * 2);console.log(nums);What will the above code output to the console? Throws an error [1, 2, 3, 4] [2, 4, 6, 8] undefined 6 / 10 let num = 1.12345;let val = num.toFixed();console.log(val);What will the above code output to the console? 1.1 1 1.2 1.12345 7 / 10 let num = 1.148;let val = num.toFixed(2);console.log(val);What will the above code output to the console? 1.14 1 1.15 1.1 8 / 10 let nums = [2, 3, 4, 3];let len = nums.length;let value = nums.reduce((res, item) => { return res + item; }, 0) / len;console.log(value); 3 2 12 4 9 / 10 console.log(add(5, 3));function add(a, b) { return a + b;}What will the above code output to the console? Throws reference error 8 null undefined 10 / 10 let a;function myFunction() { let a = 10; return a + 2;}console.log(a);What will the above code output to the console? null 12 10 undefined Your score is The average score is 44% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Tagscss advanced quizjavascript quesion bankjavascript quiz bankjs quiz bank Share Facebook Twitter Pinterest WhatsApp Previous article25 Latest Javascript Projects | Part 1Next articleMCQ – 6/12/22 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:eighteen − 10 = Most Popular Image Gallery with Lightbox Effect Using HTML, CSS, and JavaScript 20th December 2024 Build a Draggable and Sortable Grid with HTML, CSS, and JavaScript Introduction 16th December 2024 3D Button With HTML, CSS & Javascript 13th December 2024 Create a Digital Clock with a 24-Hour/12-Hour Format Switcher 9th December 2024 Load more