<<set _colour to "red">>
Is there a simple way to make the browser display: RED
Using standard JavaScript methods:
<<- _colour.toUpperCase()>>
Or if you'd rather prefer lodash, which deals with undefined or not-real-string variables nicely:
<<- _.toUpper(_colour)>>
You can use the toUpperCase() method:
<<print _colour.toUpperCase()>>
Edit: Whoops, didn't see that @Akjosch beat me to it.