+ 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 ответ
+ 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