Create a logger function that logs only if the app is not in Production
Anonymous
Simple function where you use a variable called "prod" outside of your function definition. Inside of the function just call console.log only if "prod" is equal to false.
Check out your Company Bowl for anonymous work chats.