Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 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
- Loading branch information