# Electrolysis of brine without a membrane

In the electrolysis of brine sodium hydroxide is normally formed if there is a membrane preventing the transfer of the chlorine gas. So if the membrane is removed, will the chlorine gas react with NaOH to form sodium hypochlorite? Because I've read that the chlorine will instead just react with the hydroxide ion to produce hypochlorite. Or will it produce both? and where does the sodium ion go if it doesn't?