Skip to content

Instantly share code, notes, and snippets.

@jonaskahn
Last active March 7, 2023 05:11
Show Gist options
  • Save jonaskahn/75e0fdb8cf63d5aa7813a4a67c522ab7 to your computer and use it in GitHub Desktop.
Save jonaskahn/75e0fdb8cf63d5aa7813a4a67c522ab7 to your computer and use it in GitHub Desktop.
<html>
<body>
<script>
function hello(name) {
let phrase = `Hello, ${name}!`;
say(phrase);
}
function say(phrase) {
alert(`** ${phrase} **`);
}
hello("John");
</script>
An example for debugging.
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment