const string = 'word'; // Option 1 string.split(''); // Option 2 [...string]; ... TypeScript Test: Result array is not a string[] type.
確定! 回上一頁