diff --git a/doc/api/util.md b/doc/api/util.md index a8deb083473a8c..8939844760e409 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1334,7 +1334,7 @@ const { params } = new MIMEType('text/plain;foo=0;bar=1'); params.set('foo', 'def'); params.set('baz', 'xyz'); console.log(params.toString()); -// Prints: foo=def&bar=1&baz=xyz +// Prints: foo=def;bar=1;baz=xyz ``` ```cjs @@ -1344,7 +1344,7 @@ const { params } = new MIMEType('text/plain;foo=0;bar=1'); params.set('foo', 'def'); params.set('baz', 'xyz'); console.log(params.toString()); -// Prints: foo=def&bar=1&baz=xyz +// Prints: foo=def;bar=1;baz=xyz ``` ### `mimeParams.values()`