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

A developer creates a genericfunction 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: B,D,E

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments