I am unsure if we have an official convention for these sorts of things, but I personally prefer to leave a comma on the last entry in an array so that future changes do not need to change more than one line.