OSSEZ
JavaScript 数字验证正则表达式 - 负整数的验证
软件技术
前端
honeymoose
October 31, 2012, 2:25am
1
/^-\d+$/.test(str)