function avg(a,b){
return (a+b)/arguments.length;
}
document.write(avg(3,5))
In the above code arguments.length will return the number of arguments in the functionQuestion:What is the following is function property in JavaScript?
A parameters
B arguments
C function
D public
+ AnswerB
+ Explanation
+ Report