`console.warn` doesn't have a return value, so please separate the return from the warn.