Discretion of the court refers to the authority granted to judges to make decisions based on their judgment and experience in specific cases. This includes determining whether to allow amendments to pleadings, considering factors such as fairness, justice, and procedural efficiency. The exercise of discretion can significantly influence the outcome of a case, as it allows judges to tailor their decisions to the unique circumstances presented before them.