Last active
March 25, 2018 03:08
-
-
Save quickstep25/3f91c3e34dbcc4b9f4254f19c4b3e01c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Variable | Output | | |
|--|--| | |
| %s | String | | |
| %d | Integer | | |
| %f | Float Point Value | | |
| %o | DOM Object | | |
| %0 | JavaScript Object | | |
| %c | Apply CSS Rules | | |
Example: | |
```bash | |
console.log("Node count: %d, and the time is %f.", document.childNodes.length, Date.now()); | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment