freeCodeCamp Challenge Guide: Use the JavaScript Console to Check the Value of a Variable

Use the JavaScript Console to Check the Value of a Variable

Solution 1 (Click to Show/Hide)

Solutions

let a = 5;
let b = 1;
a++;
// Add your code below this line

let sumAB = a + b;
console.log(sumAB);

console.log(a);
6 Likes