Learn why a `void` function should not return a value.
function logMessage(msg: string): void { return msg.length; }
What is the bug in this code?