js中“=”和“==”都表示什么意思啊例1:var now = new Date();var day = now.getDay();var dayName;if (day == 0) dayName = "星期日";else if (day == 1) dayName = "星期一";else if (day == 2) dayName = "星期二"; else if (day == 3) da
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/28 21:06:17
![js中“=”和“==”都表示什么意思啊例1:var now = new Date();var day = now.getDay();var dayName;if (day == 0) dayName =](/uploads/image/z/10164135-39-5.jpg?t=js%E4%B8%AD%E2%80%9C%3D%E2%80%9D%E5%92%8C%E2%80%9C%3D%3D%E2%80%9D%E9%83%BD%E8%A1%A8%E7%A4%BA%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D%E5%95%8A%E4%BE%8B1%EF%BC%9Avar+now+%3D+new+Date%28%29%3Bvar+day+%3D+now.getDay%28%29%3Bvar+dayName%3Bif+%28day+%3D%3D+0%29+dayName+%3D+%22%E6%98%9F%E6%9C%9F%E6%97%A5%22%3Belse+if+%28day+%3D%3D+1%29+dayName+%3D+%22%E6%98%9F%E6%9C%9F%E4%B8%80%22%3Belse+if+%28day+%3D%3D+2%29+dayName+%3D+%22%E6%98%9F%E6%9C%9F%E4%BA%8C%22%3B+else+if+%28day+%3D%3D+3%29+da)
xTN@+ YIFBJ[
T( MJV)OJ!Z ;nHx3wu*^* ӸuR?(ܷgȒѠN Mtޚ\&[.#y(E Vh3[bD\ϹKGS.;ds?^$.@f)%ΰgJ$͜|,T .(Ch$}bkHDT]Hvrlld~.G7"Jî,Tt(PW||<