Add comment to _.parseInt. [ci skip]

This commit is contained in:
John-David Dalton
2013-10-18 22:18:15 -07:00
parent fb4a861c0d
commit cd9332cddf

View File

@@ -6053,7 +6053,7 @@
* // => 8
*/
var parseInt = nativeParseInt(whitespace + '08') == 8 ? nativeParseInt : function(value, radix) {
// Firefox and Opera still follow the ES3 specified implementation of `parseInt`
// Firefox < 21 and Opera < 15 follow the ES3 specified implementation of `parseInt`
return nativeParseInt(isString(value) ? value.replace(reLeadingSpacesAndZeros, '') : value, radix || 0);
};