11. Function Recap; need help



TypeError: console.log is not a function

var nameString = function ( name ) {
	return "Hi, I am" + " " + name;	


First I ran it on the exercise and it passed, then I ran it in the Codecademy labs and I didn't get any errors. Have you tried refreshing the page?

Maybe if you added the semicolon at the end of your console.log statement then that will help, but that doesn't explain why it passed for me.


Returning after 5 hours and trying the same code again it worked. Might have been a glitch. Thank you for help!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.