Report question

Question: Is there a JavaScript function that reduces a fraction