Corrected return value of strToIpv6()

This commit is contained in:
Michael Rowley 2021-12-30 16:36:06 +00:00
parent 1c1d24df8f
commit 9b41fb3c68

View file

@ -340,7 +340,7 @@ export function ipv4ToStr(ipInt) {
* *
* @param {string} ipStr * @param {string} ipStr
* @param {boolean} retArr If true, an array is returned. If false, a BigInt is returned. * @param {boolean} retArr If true, an array is returned. If false, a BigInt is returned.
* @returns {(number[]|BigInt)} * @returns {(number[]|number)}
* *
* @example * @example
* // returns [65280, 0, 0, 0, 0, 0, 4369, 8738] * // returns [65280, 0, 0, 0, 0, 0, 4369, 8738]