var
val0 =
true
;
even =
false
val1;
function
funMake() {
if
(val0) {
document.write(
'Hello World!<br />'
);
}
else
{
'Привет Мир!<br />'
for
(
i=0; i<=30; i++) {
(even) {
(i%2 == 0) {
document.write(i +
' '
(i%2 != 0) {
'<br />'
document.write(Boolean(val1) +
document.write(Boolean(
null
) +
document.write(Boolean(0) +
document.write(Boolean(-0) +
document.write(Boolean(parseInt(
'Hello World!'
)) +
''
var val0 = true; var even = false; var val1; function funMake() { if(val0) { document.write('Hello World!'); } else { document.write('Привет Мир!'); } for(var i=0; i<=30; i++) { if(even) { if(i%2 == 0) { document.write(i + ' '); } } else { if(i%2 != 0) { document.write(i + ' '); } } } document.write(''); document.write(Boolean(val1) + ''); document.write(Boolean(null) + ''); document.write(Boolean(0) + ''); document.write(Boolean(-0) + ''); document.write(Boolean(parseInt('Hello World!')) + ''); document.write(Boolean('') + ''); }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
funMake();