What was the purpose of Autocorrect originally?

A ) To replace repetitive words

B ) To replace grammatically incorrect words ✅

C ) To replace missspellings

D ) All of these