第一題functionsolution(S){constnum=chkPhone(S)constnewNum=(num!==err)?err:fmtPhone(num)returnnewNum}functionchkPhone(S){letstr=constisLenShorter=S.length<2if ...
確定! 回上一頁