arashworth7260 arashworth7260 05-04-2024 Computers and Technology contestada Given the following code enter the values of 'x' and 'y' that will be output. var x = 1; let y = 1; if (x==1) { var x = 2; let y = 2; } (x); // value of x:a) 1b) 2c) Undefinedd) Error