webmanz Posted March 30, 2018 Report Share 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. Quote Link to comment Share on other sites More sharing options...
administrator Posted April 1, 2018 Report Share 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.