Elections are the prerogative of the prime minister
Salleh Said Keruak
In a Westminster system of government, it is the prerogative of the prime minister as to when to call for fresh elections. If the prime minister does not dissolve parliament to make way for fresh elections then parliament automatically dissolves five years from the start of parliament and elections must be held within two months. And the first session of parliament must be held within six months after the new government is formed.
In other words, the first session of parliament can be held six months after the elections while elections must be held five years and two months after that. So the prime minister can rule for five years and seven months or he can cut short his term and call for elections after just, say, three years.
The first four general elections after Merdeka were held in five years. The next four general elections were held in four years. The ninth general election was held in five years and the tenth in four years. That was followed by the last three general elections which were held in five years, four years, and five years respectively.