From 2483a809fa930281b1370fc0d58021c8048f1551 Mon Sep 17 00:00:00 2001 From: jkhsjdhjs Date: Mon, 25 Nov 2019 07:04:56 +0100 Subject: [PATCH] readme: add missing comma --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 910f71c..40ce40b 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ A class that stores cookies. - `file` The path of the cookie jar on the disk. - `cookies` A [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) mapping hostnames to maps, which map cookie names to the respective [Cookie](#class-cookie) instance. -#### new CookieJar([file, flags = `rw` cookies]) +#### new CookieJar([file, flags = `rw`, cookies]) - `file` An optional string containing a relative or absolute path to the file on the disk to use. - `flags` An optional string specifying whether cookies should be read and/or written from/to the jar when passing it as parameter to [fetch](#fetchcookiejar-url-options). Default: `rw` - `r`: only read from this jar