Skip to content

Instantly share code, notes, and snippets.

@beiyuu
Last active December 18, 2015 04:59
Show Gist options
  • Save beiyuu/5729368 to your computer and use it in GitHub Desktop.
Save beiyuu/5729368 to your computer and use it in GitHub Desktop.
var html = (function () {/*
<!DOCTYPE html>
<html>
<body>
<h1>Hello, world!</h1>
</body>
</html>
*/}).toString().match(/[^]*\/\*([^]*)\*\/\}$/)[1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment