This is called a through tenon.  The top left rail is reduced in size and tightly fit through a mortise hole
that goes completely through the leg.  Either solid wood pegs or counter sunk screws with plugs can be used for assembly.