JS: Read the type of array literals.