rfq

reformat cookie

rfq
Mar 26th, 2022
924
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var cookie = "pkg=math; equation=E%3Dmc%5E2";
  2. var reformatCookie = cookie
  3.     .split(";").map(v => v.split("="))
  4.     .map(v => v.join("=")).join(";");
  5.  
  6.  
  7.  
Advertisement
Add Comment
Please, Sign In to add comment