The electrode potential measures the tendency of electrons to flow away from or towards a redox equilibrium. They are always measuredwith respect to the standard hydrogen electrode (which is assigned a value of zero volts).
Electrolysis of molten NaCl gives sodium at cathode while aqueous NaCl gives H2 gas at cathode.