In practice, getting the other party to name their number first is very difficult to achieve for a junior developer talking to an experienced HR/recruiter, so this isn't great advice.
Actually this is one of the only times the candidate could credibly say, "Gee, I don't know, I've never had a full-time job and am still calibrating my expectations, maybe you can help me here?" After the first job, subsequent employers will usually try to calibrate themselves to your previous one.