function math(a){
(a + 43) + 32
return
}
var d = math(23)
console.log(d)
It says undefined in console.
function math(a){
(a + 43) + 32
return
}
var d = math(23)
console.log(d)
It says undefined in console.
The return keyword needs to be at the start of the (a + 43)
parenthesis.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.