0
How the answer is 50?
function func(a,b){ return a**b/b ;} alert(func(10,2)); //Ans:50
5 odpowiedzi
+ 6
** is the exponentiation operator:
10**2/2 == 10*10/2
+ 2
Thank U. I thought it was a pointer😁
0
*a is a pointer..... a** is exponential operator.... and hence (10**2)/2 == (10*10)/2