From eed8a56c37e21008df5a02e47b7571d23a1abf5a Mon Sep 17 00:00:00 2001 From: Ngoc Tung Ngo Date: Fri, 19 Oct 2018 11:47:21 +0200 Subject: [PATCH] Helloword with function --- collection/JavaScript_saidHello_3.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 collection/JavaScript_saidHello_3.js diff --git a/collection/JavaScript_saidHello_3.js b/collection/JavaScript_saidHello_3.js new file mode 100644 index 0000000..f0ef883 --- /dev/null +++ b/collection/JavaScript_saidHello_3.js @@ -0,0 +1,6 @@ + +function saidHello() { + return "Hello World"; +} + +document.write("

" + saidHello() + "

");