2 ms·
Rather than using %s, %i, %o, %f, etc. You can use a templated string, like this: `This is a string that has been printed ${someVar} times.`
by Pfhreak 6y ago
Rather than using
%s, %i, %o, %f, etc.
You can use a templated string, like this:
`This is a string that has been printed ${someVar} times.`
- vitus 6y agoThat works great for strings / numbers, not so much for objects (unless you really want to see "[object Object]" in your debug strings).