mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +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
|
* 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.
|
* hexadecimal, in which case a `radix` of `16` is used.
|
||||||
*
|
*
|
||||||
* **Note:** This method aligns with the
|
* **Note:** This method aligns with the
|
||||||
@@ -17,7 +17,7 @@ const nativeParseInt = root.parseInt
|
|||||||
* @since 1.1.0
|
* @since 1.1.0
|
||||||
* @category String
|
* @category String
|
||||||
* @param {string} string The string to convert.
|
* @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.
|
* @returns {number} Returns the converted integer.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user