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
For instance if I need "console.log("%d %d", 1);" to output "%d 1", how do I force the first "%d" to be treated as a literal and not the format specifier?
Should "%%" which produces "%" as an output added to the Formatter?
The text was updated successfully, but these errors were encountered:
I have also verified that this is what Chrome 73, Firefox 66 , IE 11, Edge 17, and Safari 12 are doing already.
I have also noticed that Safari 12 does not handle "%" followed by invalid specifier gracefully. For instance in Safari 12, "console.log("%1 %d", 1);" prints "[object Object]d". It probably makes sense to add some language to specify how unsupported specifiers are supposed to be handled, especially if you want to allow future extensions.
For instance if I need "console.log("%d %d", 1);" to output "%d 1", how do I force the first "%d" to be treated as a literal and not the format specifier?
Should "%%" which produces "%" as an output added to the Formatter?
The text was updated successfully, but these errors were encountered: