`typeof langcode[1] !== 'undefined'` I don't think this can ever be false. Otherwise, `langcode` would be `null`

`langcode[2]` (below), on the other hand, can, but that shouldn't throw.