xxxxxxxxxx
27
// Indent Issue
// Create a copy and Tidy Code (Edit -> Tidy Code)
// This is already indented properly
do
if(true)
console.log("foo")
else
console.log("bar")
while(false)
// Same is true for while and for loops:
for(i=0;i<10;i++)
if(true)
console.log("foo")
else
console.log("bar")
while(i<12)
if(true)
i++
else
i--
console.log("foo")
// Note that out put is same in before and after tiding code, "foo" is printed 12 times