結果 : turn string into char array javascript