since the previous if is `if (typeof result !== 'number')` this is a tautology, plus the last else can never run