with({ l: localStorage // Alias for localStorage, where we'll store text content }) with(document.body) // With the document body.. contentEditable = !0, // Turn on contentEditable innerHTML = [l.c], // Set innerHTML of our element to the value stored in localStorage oninput = function () { // On input.. l.c = innerHTML // store our content in localStorage }