mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Fix typo in parseInt (#3433)
This commit is contained in:
committed by
John-David Dalton
parent
413a38cdf2
commit
bcd2c35604
@@ -8,7 +8,7 @@ const nativeParseInt = root.parseInt
|
||||
|
||||
/**
|
||||
* Converts `string` to an integer of the specified radix. If `radix` is
|
||||
* `undefined` or `0`, a `radix` of `10` is used unless `value` is a
|
||||
* `undefined` or `0`, a `radix` of `10` is used unless `string` is a
|
||||
* hexadecimal, in which case a `radix` of `16` is used.
|
||||
*
|
||||
* **Note:** This method aligns with the
|
||||
@@ -17,7 +17,7 @@ const nativeParseInt = root.parseInt
|
||||
* @since 1.1.0
|
||||
* @category String
|
||||
* @param {string} string The string to convert.
|
||||
* @param {number} [radix=10] The radix to interpret `value` by.
|
||||
* @param {number} [radix=10] The radix to interpret `string` by.
|
||||
* @returns {number} Returns the converted integer.
|
||||
* @example
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user