Replies: 1 comment
-
Something like: Object.entries(Cookies.get())
.filter((key, value) => key.startsWith('review'))
.reduce((accumulator, pair) => { …Object.fromEntries(pair), …accumulator }, {}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how to select all cookies starting with name review{XXXX-X}
"review1259-0"
"review1259-1"
"review1260-0"
etc
Beta Was this translation helpful? Give feedback.
All reactions