All primitive types will be coerced into strings by vomit:
- String
- Boolean
- Number
- others
var str = 'Nyan'
vomit`<span>${str} the cat!</span>`
result:
<span>Nyan the cat!</span>
var bool = true
vomit`<span>Is it ${bool} Vomit is awesome?</span>`
result:
<span>Is it true Vomit is awesome?</span>
var size = 2
vomit`<span>Vomit is only ${size}kb</span>`
<span>Vomit is only 2kb</span>