变量转换成数字 num+0 变量转换成字符串 num+"" === 先判断类型,NaN != NaN 转载于:https://www.cnblogs.com/prettyY/p/5634133.html