Updated expandIpv6() example

This commit is contained in:
Michael Rowley 2021-12-30 16:29:54 +00:00
parent 3326329c29
commit 1c1d24df8f

View file

@ -393,7 +393,7 @@ export function strToIpv6(ipStr, retArr=true) {
*
* @example
* // returns "5555:126f:0000:0000:0000:0000:0000:0001"
* expandIpv6("5555:126f::0001");
* expandIpv6("5555:126f::1");
*/
export function expandIpv6(ipStr) {
const padHex = function (ipStr) {