var foo = 1;
var bar = foo;
var array = [1, 3, 3];
var i;

if (bar !== undefined && bar !== null) {
  console.log(foo, bar);
}

for (i = 0; i < array.length; i++) {
  console.log(array[i]);
}

@@ -1,192 +1,19 @@
-var foo = 1;%0Avar bar = foo;%0Avar array = %5B1, 3, 3%5D;%0Avar i;%0A%0Aif (bar !== undefined && bar !== null) %7B%0A  console.log(foo, bar);%0A%7D%0A%0Afor (i = 0; i %3C array.length; i++) %7B%0A  console.log(array%5Bi%5D);%0A%7D
+// Your code here.
 %0A

Delete previous wrong data