var
val =
true
;
function
funMake() {
if
(val) {
document.write(
'Hello World!'
+
'<br />'
);
}
'To be or not to be?'
var val = true; function funMake() { if(val) { document.write('Hello World!' + ''); } document.write('To be or not to be?' + ''); }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
funMake();