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
Latest JavaScript Developer I Practice Questions with 144 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments