Type ECMAScript code in the editor. Press Minify button to shorten the code using Escodegen project.
The above code editor is based on CodeMirror.