Because semicolons, function return types, method arguments lists, and even the curly braces are sometimes omitted, using an equals sign prevents several possible parsing ambiguities.
Becausesemicolons, functionreturntypes, methodargumentslists, and even the curly bracesaresometimesomitted, usingan equals signpreventsseveralpossibleparsing ambiguities.