Strict Mode in JavaScript

Introduction

Now you might be asking what would be the purpose of this?

Image for post
Image for post
This is the error message I get back from the console
Image for post
Image for post
Image for post
Image for post
I simply get back undefined. I could continue writing code and only to later find out that voting actually never gets assigned anything :(

Reserved Keywords

Conclusion

Written by

Software Developer && Political Enthusiast

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