Posts by Fabio alves • 1 point
1 post
-
-1
votes1
answer38
viewsQ: Function returning Nan
Well I am trying to execute this function and results in Nan, not even an error in the console. var numeros = [10,2,5,,30,25,19,20,50,40,150] function media(nums) { var tam = nums.lenght var soma =…