You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Replace `parseInt` with `Number`, as the second function correctly
handles empty string and undefined.
```
Number(null) = 0
Number('') = 0
parseInt(null) = NaN
```
## Test plan
0 commit comments