Both are syntactically correct in a number of languages. The last element is ignored if left blank. It is a nice little easter egg built into languages just so you don't have to keep adding in , before you start modifying an array if you manually have to add a few more values in.