You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It must handle 2 scenarios: multiple objects to log, or string as a first argument and objects to replace substitution parameters as rest.
Solution
For those methods - implement handling different arguments based from first argument type. It can be an object - rest are objects or a string - rest are objects to replace substitution parameters.
Problem
Console interface not fully implements js Console interface.
debug, error, log, info, warn
contracts are different from js Console contracts.https://developer.mozilla.org/en-US/docs/Web/API/console/log
It must handle 2 scenarios: multiple objects to log, or string as a first argument and objects to replace substitution parameters as rest.
Solution
For those methods - implement handling different arguments based from first argument type. It can be an object - rest are objects or a string - rest are objects to replace substitution parameters.
@tshemsedinov What are your thoughts about this?
The text was updated successfully, but these errors were encountered: