VM345:1 Uncaught ReferenceError: time is not defined at <anonymous>:1:5
What does this mean, teacher?
你算哪块小饼干2019-08-04 09:43:50
You need to define the time first, the teacher defined it in advance
var a=new Date()
undefined
time=a.getHours()
9
if(time<12)
{
x="Hello";
}
" Hello"
That's it