Which three console logging methods allow the use of string substitution in line 02?

A developer creates a generic function to log custom messages in the console.

To do this, the function below is implemented.

01 function logStatus(status){

02 console./*Answer goes here*/{‘Item status is: %s’, status};

03 }

Which three console logging methods allow the use of string substitution in line 02?
A . Assert
B . Log
C . Message
D . Info
E . Error

Answer: A,D

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Madhavi Bhattad
Madhavi Bhattad
3 years ago

BDE