`switch` is already the last → no need to `return` an undefined value
issues caught by JSHint are not necessarily “errors” per se