JSFiddle - React, Tailwind, and code Playground

JavaScript

alert(encodeURIComponent('test+test'));