...
You can use any Javascript you are comfortable with when author rules like this. The example above shows the basic sequential construction of a string. The same thing can be written in a number of ways. A more developer focused example of this rule is provided below. Note that this code does the exact same thing as the example above, it is just written in a manner that is less understandable to those unfamiliar with Javascript syntax. Use whatever is easier or more understable for you.
...