結果 : how to transform a string into an array javascript