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 #6 ArenaQuiz Quiz #6 By Coding Artist 21st October 2022 0 342 Share Facebook Twitter Pinterest WhatsApp 99 Created by Coding Artist Quiz #6 1 / 10 Which of the following is NOT a primitive data type in Javascript? function boolean undefined null 2 / 10 let a = new String("Coding");let b = new String("Coding");console.log(a == b);What will the above code output to the console? true false 3 / 10 let arr = [10, 20, 30, 40];console.log(typeof arr);What will the above code output to the console? function null object array 4 / 10 let letters = ['A', 'B', 'C', 'D', 'E'];console.log(letters.slice(-2));What will the above code output to the console? ['C', 'D', 'E'] ['A', 'B'] ['D', 'E'] ['E'] 5 / 10 let a = 2;let b = 3;a **= b;console.log(a);What will the above code output to the console? 12 8 18 6 6 / 10 let a = 10 + 10 * 2;let b = 10 * 2 - 2;console.log(a, b);What would the above code snippet output to the console? 40 18 30 0 40 0 30 18 7 / 10 let a = "5  ";console.log(Number(a));What will the above code output to the console? 5 NaN 5.0 Throws Error 8 / 10 let myStr = "Let's search this string.";let foundStr = myStr.lastIndexOf("S");console.log(foundStr);What will the above code output to the console? 18 6 -1 -7 9 / 10 let arr1 = [1, 2, 3];let arr2 = arr1;arr1[1] = 4;console.log(arr2);What will the above code output to the console? [4, 2, 3] [1, 4, 3] [1, 2, 3] Throws An Error 10 / 10 let myStr = "I enjoy Coding. Coding is Fun";console.log(myStr.search("Coding"));What will the above code output to the console? 8 true 11 false Your score is The average score is 45% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Tagscss advanced quizhtml quizjavascript advanced quizjavascript quizjavascript quiz for beginners Share Facebook Twitter Pinterest WhatsApp Previous articleMCQ – 21/10/22Next articleFireworks On Click | Javascript & Canvas 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 1 COMMENT Cool this was a fun quiz Reply 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:5 × five = Most Popular Expanding Menu (Horizontal) | HTML, CSS & Javascript 15th November 2024 Guess the number | Step By Step Javascript Project 15th November 2024 Image Zoom Effect With CSS 13th November 2024 Copy To Clipboard With Javascript 12th November 2024 Load more
Cool this was a fun quiz