Section 9.36 What does the following function do?

             // Parameter b must be a positive
            // integer to prevent infinite recursion
            function mystery( a, b )
            {
               if ( b == 1 )
                  return a;
               else
                  return a + mystery( a, b - 1 );
            }
        


This function multiplies 2 numbers.
Test uses 5 and 5.