var x = 1

function foobar(){ return undefined}

x++;
const y = 0;
foobar()

@@ -1,14 +1,14 @@
-var
+let
  x = 1
-%0A
+;
 %0Afun
@@ -21,16 +21,17 @@
 foobar()
+ 
 %7B return
@@ -44,11 +44,11 @@
 ined
+;
 %7D%0A
-%0A
 x++;
@@ -68,10 +68,12 @@
 %0Afoobar(
-)
+y);
 %0A

remove violations for initial sitation