JSFiddle - React, Tailwind, and code Playground

by sperske

JavaScript

const state = new URLSearchParams({from: window.location.pathname})
console.log(state.toString())