有什么理由我应该使用string.charAt(x)而不是括号表示法string[x]吗?
string.charAt(x)
string[x]
javascript string
javascript ×1
string ×1