no need for typeof here, just `undefined ===`