You have to create a new sequence by concatenating x and a sequence containing only the new element:
<#assign x = x + [ "green" ] />
You have to create a new sequence by concatenating x and a sequence containing only the new element:
<#assign x = x + [ "green" ] />