Exam4Training

Which meet the requirements?

Works in both the browser and Node.js.

Which meet the requirements?
A . assert (number % 2 === 0);
B . console.error(number % 2 === 0);
C . console.debug(number % 2 === 0);
D . console.assert(number % 2 === 0);

Answer: B

Exit mobile version