Which data type represents a sequence of characters in JavaScript?
object
string
boolean
number
In JavaScript, how can you access the value of the arguments passed to a function?
Through the 'this' keyword.
Using the 'params' array.
By accessing function parameters directly.
Using the 'arguments' object.
Which of the following is NOT a built-in function in JavaScript for interacting with the user through the browser?
prompt()
alert()
console.log()
confirm()
Which tool in the browser's developer tools is most commonly used for debugging JavaScript code?
Network Tab
Console
Application Tab
Elements Panel
Which logical operator returns true if and only if both operands are true?
true
NOT (!)
XOR (^)
OR (||)
AND (&&)
What will the browser display after running this JavaScript code: alert('Hello') + ' World!'; ?
alert('Hello') + ' World!';
Hello World!
World!
Hello
An error message
Which of the following is NOT a feature of JavaScript?
Interpreted language
Object-oriented programming capabilities
Strongly typed language
Client-side scripting language
What will be the output of the following code?
console.log(typeof null);
undefined
null
symbol
What will the following code snippet log to the console?
console.log(5 + '5');
10
55
Error
NaN
How many times will the following loop iterate?
for (let i = 1; i <= 10; i += 2) { console.log(i); }
infinite
6
5