Welcome to the Treehouse Community
Looking to learn something new?
Hey! I Discovered something....
my workspace: https://teamtreehouse.com/workspaces/41238132
Steven Parker216,149 Points
When you leave off the explicit declaration, the variable is created using implicit global declaration. While this is allowed in normal mode, when the system is in "strict" mode it will cause a fatal error.
Also, even in normal mode, it is considered a programming "best practice" to always explicitly declare variables. There are also some functional differences in behavior between declared and undeclared variables. For more details, see the MDN documentation page for var.
Hey wait😅 what is strict mode now? And explicit?