function
funString() {
var
str =
'Hello World!'
;
document.getElementById(
'p'
).innerHTML = str;
}
funMake() {
setTimeout (
'funString()'
, 2000);
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
p
id
"p"
funMake();