JAVASCRIPT Interview Practice #3

Q1. What will be the output of the below code?

parseInt("123Hello")






Q2. What will be the output of the below code?

parseInt("Hello123");






Q3. Which of the following are closures in Javascript?







Q4. Types of errors in Javascript?







Q5. How do we write a comment in javascript?







Q6. What will be the output of the below code?

a= "Good";  
b= "Evening";  
console.log(a+b); 






Q7. What will be the output of the below code?

console.log("five"<15); 






Q8. What will be the output of the below code?

function test(...args) {
 console.log(typeof args);
}
test(15);






Q9. Which one of the following operator returns false if both values are equal?







Q10. Which one of the following is not a keyword?