List of questions
Related questions
Question 5 - Certified JavaScript Developer I discussion
Refer to the code below: for(let number =2 ; number <= 5 ; number += 1 ) {
// insert code statement here
}
The developer needs to insert a code statement in the location shown. The code statement has these requirements:
A.
Does require an import
B.
Logs an error when the boolean statement evaluates to false
C.
Works in both the browser and Node.jsWhich meet the requirements?
D.
assert (number % 2 === 0);
E.
console.error(number % 2 === 0);
F.
console.debug(number % 2 === 0);
G.
console.assert(number % 2 === 0);
Your answer:
0 comments
Sorted by
Leave a comment first