console.warn("This is a decimal: %d, this is a string: %s", 1, "foo")? type of statements are not used at all.

If the need arise, then one has to break the statement.

console.warn("This is a decimal:",1, "this is a string: ", foo)

Breaking the print statement to accommodate the variables.