Created
March 14, 2017 04:32
-
-
Save ianaya89/b6f80f3b775779ce4d0a11dc27245ee2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="output">Hello World</div> | |
<!-- Load Babel --> | |
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | |
<!-- Your custom script here --> | |
<script type="text/babel"> | |
const getMessage = () => "Hello World"; | |
document.getElementById('output').innerHTML = getMessage(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment