The localeCompare() method is used to compare two strings. It will return a number that does indicate if the string passes as a parameter comes before, after, ...
確定! 回上一頁