This commit is contained in:
Ilya Kantor 2017-01-03 01:36:58 +03:00
parent 9ad9063d00
commit 97a0f22ff0
99 changed files with 1161 additions and 1208 deletions

View file

@ -0,0 +1,9 @@
function hello(name) {
let phrase = `Hello, ${name}!`;
say(phrase);
}
function say(phrase) {
alert(`** ${phrase} **`);
}

View file

@ -0,0 +1,14 @@
<!DOCTYPE HTML>
<html>
<body>
<script src="hello.js"></script>
An example for debugging.
<script>
hello("John");
</script>
</body>
</html>