JS判断是正数还是负数董德多2019年2月22日0 JS判断是正数还是负数: function check(x){ if(x0){ return 正数; }else if(x0){ return 负数; }}