| Approved Answers 2025/2026
On what type of elements can transitions be used correct answer
Both 2D and 3D elements
What does the z-index property accept correct answer
Any real number (including negatives)
What is JavaScript designed for correct answer
Creating network-centric applications.
Do Netscape's JavaScript and Microsoft's JScript conform to the
ECMAScript standard correct answer
Yes, they both conform to the ECMAScript standard.
What are literals in JavaScript correct answer
Values that are written in code, such as numbers, strings, booleans, object
and array literals
What are variables in JavaScript correct answer
Containers that store values.
When should let be used in JavaScript correct answer
When a variable needs to be updated within the program (it can be
reassigned)
Can reserved words be used as identifiers in JavaScript correct answer
No, they are reserved by the language and have built-in functionality
, What will be the output of the following JavaScript code correct answer let
string1 = " 123 "; let intvalue = 123; alert ( string1 + intvalue );
123123
What is the approach called where a program periodically checks a queue
for new events and reacts to what it finds there correct answer
Polling
What can calling preventDefault method on an event object do correct
answer
It can prevent the default behavior from happening
On which node does a "click" event fire correct answer
On the most specific node that contained both the press and release of the
button
In the example code provided, what is the scope of the acc variable
correct answer
Global
Why do we use methods within JavaScript correct answer
To follow the traditional object-oriented concepts found on other procedural
programming languages capable of object definitions
What is the purpose of web workers correct answer
To run scripts in background threads
Can JS methods be applied to user-defined data types (classes) correct
answer