Understanding milliseconds in a script from a friend.

Yeah thats what I would normally do as well (brace with the function name). In this case it was the IDE which did the formatting, and its autoformat seems to prefer it on another line.