Fix# TypeError on array join