I got caught a couple of years ago with my spuds, they were I thought completely lost. Within a few days green shoots started to appear and I covered them every night until the frosts had passed.
They'll survive but yields will be down depending on how much foliage got frosted. My neighbour on my allotment site lost all his beans to frost the other night. I did make subtle hints about planting them out too early