function
funMake() {
if
(document.getElementById(
'd1'
).hasChildNodes()) {
document.write(
'Child Yes!'
);
}
else
{
'Child No!'
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
div
id
"d1"
p
>Hello World!</
>Привет Мир!</
>To be or not to be?</
funMake();