Which one is an ionic compound?

HCl

CH4

NaCl

BF3