The Javascript function uses the ...rest parameter to accept an infinite number of values and return the average. When no parameter is passed to the function, zero is returned.
abraham-ogbumah / project-averagejs-function Goto Github PK
View Code? Open in Web Editor NEWThe Javascript function uses the ...rest parameter to accept an infinite number of values and return the average. When no parameter is passed to the function, zero is returned.