Got it. Gave it a go, and in Chrome, for me it also starts off giving you the values like you said.
Don't worry about it, and just go ahead and do the challenge, assuming those two variables are declared and have those values. So, basically ignore the
undefined.** I tried the challenge, and it still works fine.
If something's still confusing you, post again, and specify exactly what's causing the issue. Cheers
** Explanation of why undefined shows up. Goes beyond this course and is rambly (it's not but should be a word): My guess is, since it's a command-line-like console (something that takes in input and gives back output), it takes each line and somehow executes it, perhaps something like
eval (careful when using that, as it can cause security problems, so is normally best avoided) or CS' own function, and when there's no explicit return value for a func., including eval itself, that function will return undefined. So, the console in CS may call this func. for each line entered, and then print out the return value, which is always undefined or the "return value" of the entered code in the console, which will also be undefined in the case of the above 2 declarations in your post. And just tried a few things, so I'm pretty sure I'm correct to some extent. Doesn't matter much, though, and for the purposes of this challenge, none of this is necessary knowledge.