Works in both the browser and Node.js 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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments