Posts by Érico Bandeira • 21 points
1 post
-
2
votes2
answers65
viewsA: pq the function add this being interpreted before your scope statement?
you are declaring "mult" as const and must be a Function to receive the parameters. Declare it as the sum Function console.log(somar(5,5)) console.log(mult(5,5)) function somar(x,y){ return x +y }…
javascriptanswered Érico Bandeira 21