JS 判断字符串是否为纯数字if(Number(num)+'' !==NaN+'' ){ console.log('是纯数字') }else{ console.log(2023-02-20JavaScript140