+ 1

objetos

Hola disculpen, no he podido resolver este problema, me podrian orientar por favor funciĂłn mathCalc (altura, peso) { this.height = altura ; this.weight = peso ; this.sampleCalc = calcular ; } pensaria que es asĂ­, pero me sale error

30th Oct 2018, 4:22 PM
Sergio Giovanni Beltran Madrid
Sergio Giovanni Beltran Madrid - avatar
1 Answer
+ 3
Hi, I've adjusted your code a bit and it's functional now. I made a BMI with its function, hope it helps. https://code.sololearn.com/WQsVvnSsyZHq/?ref=app
2nd Nov 2018, 10:18 AM
Biel Blue
Biel Blue - avatar