Which type of chemical bond holds together sodium chloride (NaCl)?

A.
polar covalent

B.
ionic

C.
nonpolar covalent

D.
metallic