Javascript Join Elements Of Array Meaning In Python