google/closure-compiler
Auf GitHub ansehenI think parseInt radix should be optional
Open
#3.230 geöffnet am 12. Feb. 2019
P4good first issueinternal-issue-createdtriage-done
Repository-Metriken
- Stars
- (7.176 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 3T 4h) (1 gemergte PR in 30 T)
Beschreibung
I understand why this is. But if feels like a very old legacy issue...
Nowdays all browser use radix 10 as default and has done so for a long time. And the likelihood of someone starting the number with 0 and using IE8 is very slim. Many have stop supporting old browsers
* @param {number=} base