localeCompare (param2); } //如果引數1為數字,引數2為字串 if(typeof param1 == “number” && typeof param2 == “string”){ return -1; }
確定! 回上一頁