Yes the function has periods(*) being common multiples(**). A multiple of $a$ is a number of the form $ja$ where $j$ is a positive integer, similarily a multiple of $b$ is a number of the form $kb$ where $kb$ is a positive integer.
If $a/b$ is rational that is equal to $k/j$ for some positive integers $j$ and $k$ we have that since $a/b = k/j$ that $ja = kb$ that is we have a common multiple.
Note that it should not be required to use the least common multiplier since actually any multiplier is a period of the resulting function. It's not even sure that the least common multiplier results in the fundamental period since such is not required to exist if for example $f(x)+g(x)$ is a constant function. Also the fundamental period could be smaller than the least common multiplier, for example if $g(x) = f(x+a/2)$ the period would be $a/2$ yet $f$ and $g$ has a fundamental period of $a=b$.
(*) I use period to denote any positive number $T$ such that $f(x+T)=f(x)$ and not just the smallest such number.
(**) Both functions have the period of multiples of their period and especially if there's a common multiple they have a common period and the sum of two function with the same period is periodic (with the same period).