51.
The main difference between the variables declared with var and with let is

52.
Consider the following code snippet
function oddsums(n) 
{
     let total = 0, result=[]; 
     for(let x = 1; x <= n; x++) 
     { 
        let odd = 2*x-1; 
        total += odd;
        result.push(total);
     }
     return result;
}

What would be the output if
oddsums(5);
is executed afted the above code snippet ?

53.
Consider the following code snippet
console.log(p)
If p is not defined, what would be the result or type of error?

54.
Consider the following code snippet
let x=x+1;
console.log(x);
What will be the result for the above code snippet?

55.
Consider the following code snippet
[x,y]=[y,x];
What is the result of the above code snippet?