Javascript Week Two
Javascript Week Two
if (x === 5 {
Given the following code snippet, identify and fix the syntax error:
console.log(message)
function sayHello() {
console.log("Hello!");
}
console.log("Goodbye!");
Given the following code snippet, identify and fix the syntax error:
console.log(numbers[2];
Given the following code snippet, identify and fix the syntax error:
return x + y;
};
console.log(addNumbers(5, 10));