Pharmacology

A patient complains of muscle weakness it was reversed on administration of neostigmine, because