Shenglian / -WORK_TIP

工作上小技巧
4 stars 1 forks source link

[js] minus integer #147

Open Shenglian opened 5 years ago

Shenglian commented 5 years ago
if (!isNaN(x) && x < 0) { console.log('minus') }