Browser Console - Format Specifier
Published on Tue Mar 01 2022
Captures format specifiers commonly used in logging and console messages, as defined in [the current whatwg/console spec](https://console.spec.whatwg.org/#formatter):
- `%s`: Formats the value as a string
- `%i`: Formats the value as an integer
- `%d`: Formats the value as an integer
- `%f`: Formats the value as a floating point value
- `%o`: Formats the value as an expandable DOM element. As seen in the Elements panel
- `%O`: Formats the value as an expandable JavaScript object
- `%c`: Applies CSS style rules to the output string as specified by the second parameter