HTML, CSS, JS
There is not only JS code, but also HTML and CSS.
Create multiple js files, use preprocessors, save your code, format and customize the editor for yourself.
Your js code just by copy browser url.
Online editor have full support to create whole apps: HTML, CSS, Versions and App Hosting with Vanilla
include to html from jsdelivr.com, jspm.io.