Updated expandIpv6() example
This commit is contained in:
parent
3326329c29
commit
1c1d24df8f
@ -393,7 +393,7 @@ export function strToIpv6(ipStr, retArr=true) {
|
|||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* // returns "5555:126f:0000:0000:0000:0000:0000:0001"
|
* // returns "5555:126f:0000:0000:0000:0000:0000:0001"
|
||||||
* expandIpv6("5555:126f::0001");
|
* expandIpv6("5555:126f::1");
|
||||||
*/
|
*/
|
||||||
export function expandIpv6(ipStr) {
|
export function expandIpv6(ipStr) {
|
||||||
const padHex = function (ipStr) {
|
const padHex = function (ipStr) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user