Hey Ronald! There was a typo in my example in that I didn't introduce a typo in the first if statement. Try it again as written and you should get the error. The example is meant to convey an accidental misspelling after declaration in that scenario will fail in the background without alerting the developer in absence of strict mode. I corrected the example and thank you for pointing that out. I hope all is well and from one veteran to another - thank you for your service!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store