It would depend on the threat, but clearly there are wide range of RF-guided systems that would be dangerous against a USAF F-16 or A-10. Fighters with better self-protection would be different.
Also, different ground situations and weather would affect the F-35's ability to avoid ground fire. Static or slow targets and clear skies, plus RoEs that allow high-altitude releases with the rather dated midwave-only EOTS.