Tell us what’s happening:
function addThreeAndFour() {
return 3 + 4;
}
console.log(addThreeAndFour());
// running tests
1. You should declare a function called addThreeAndFour.
2. Your addThreeAndFour function should return the sum of 3 and 4.
// tests completed
Your code so far
function addThreeAndFour addTwoAndSeven() {
return 2 + 7;
}
console.log(addTwoAndSeven());
// User Editable Region
function addThreeAndFour() {
return 3 + 4;
}
console.log(addThreeAndFour());
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15
Challenge Information:
Build a Calculator - Step 4