No, I wouldn't. I'd expect them to know the basics: what's a sort, what's an array, what's a loop structure, how do you create a form in html, what's the difference between GET and POST, etc...
Being a junior developer, I'd expect him / her to to be paired up half of the time learning new things and becoming something other than a junior developer.