How do I add an element to an array?

There is nothing to know. The editor will create the file for you correctly though.