Since the parser assumes that a function definition will consume a whole line, start with whitespace, and the first word will be function, asynchronous function definitions get missed. This resolves that by adding the optional leading atom in the same fashion as other languages.
Since the parser assumes that a function definition will consume a whole line, start with whitespace, and the first word will be function, asynchronous function definitions get missed. This resolves that by adding the optional leading atom in the same fashion as other languages.