https://developers.google.com/web/tools/chrome-devtools/console/console-write#string_substitution_and_formatting
Example:
console.log("Node count: %d, and the time is %f.", document.childNodes.length, Date.now());