When asked to classify sodium acetate (NaCH3 COO) as either an ionic or covalent compound, a student responded with, “Sodium acetate is both ionic and covalent.” Explain why the student gave this answer.