JavaScript does NOT have a char type. With that said, here is the best you can do… First of all, the string s must have a length of 1. let c = s[0] If ...
確定! 回上一頁