This page's source code is below. You can copy the code and run it in your browserTM and the output will be the identical code.
Such a program can be written in any language that is Turing complete. I used JavaScript to complement plain HTML.