2.2: Using subscriptions for input sanitization

Anti-Pattern

We are using .subscribe() to automatically capitalize the first letter of the name. Try entering a name with all lower-case letters. Check your console and notice that the function gets called twice (because it's being changed twice).

Name: