GCD Suggest EditsReturns the greatest common divisor of one or more integers. Parameters var_args_values Number (required) - Value(s) to consider to calculate the greatest common divisor. Returns Number Examples JavaScriptGCD(5, 9) // returns 1 JavaScriptGCD(14, 21, 42) // returns 7 Updated about 1 year ago Table of Contents Parameters Returns Examples