webmanz Posted March 30, 2018 Report Posted March 30, 2018 Chapter 5 lesson 5 5.37 minute mark of video alert("Alert: " + "stef@studioweb.com" . indexOf("@") For the above to work do I still need to type in code mentioning console log? In other words just that one line of code without any mention of console log or anything else? By anything else I mean: var email var theAt console.log In the video the js position shows up in console log using that one line of code.
administrator Posted April 1, 2018 Report Posted April 1, 2018 console.log is only needed if you want to push something to the log. Remember, log() is a method inside of the console object.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now