The time object is undefined in Google Chrome
Lz
Lz 2020-04-02 09:52:13
0
1
1281

问if(time<12){    x="good morning";}

VM1817:1 Uncaught ReferenceError: time is not defined    at <anonymous>:1:1

Lz
Lz

reply all(1)
陈洋

var a=new Date()

time=a.getHours()

Just assign a value to time

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template