当前位置:网站首页>Key points on February 15, 2022
Key points on February 15, 2022
2022-07-01 17:38:00 【Lu Gangwei Beijing ideal International Travel Service Co., Ltd】
if else There can be no other code in the middle . Need to be close , Otherwise it will go wrong
Variable Initial lowercase , Other initials are capitalized This is the norm
document.querySelector('#slogan').innerText=' have pupils everywhere , Be strange by oneself '; Text This T It's capital . No lowercase
; stay } In front of , Represents the end of the expression
if (weekDay == 1) { | |
window.document.writeln(' Today is Monday '); | |
} else if (weekDay == 2) { | |
window.document.writeln(' Today is Tuesday '); | |
} else if (weekDay == 3) { | |
window.document.writeln(' Today is Wednesday '); | |
} else if (weekDay == 4) { | |
window.document.writeln(' Today is Thursday '); | |
} else if (weekDay == 5) { | |
window.document.writeln(' Today is Friday '); | |
} else if (weekDay == 6) { | |
window.document.writeln(' Today is Saturday '); | |
} else { | |
window.document.writeln(' Today is Sunday '); | |
} |
边栏推荐
- 【splishsplash】关于如何在GUI和json上接收/显示用户参数、MVC模式和GenParam
- Can hero sports go public against the wind?
- (16) ADC conversion experiment
- Integer array merge [JS]
- Detailed explanation of string's trim() and substring()
- 【C語言補充】判斷明天是哪一天(明天的日期)
- DNS
- SQL injection vulnerability (MySQL and MSSQL features)
- 多线程并发之CountDownLatch阻塞等待
- Mysql database - Advanced SQL statement (2)
猜你喜欢
Pytest learning notes (13) -allure of allure Description () and @allure title()
Iommu/smmuv3 code analysis (10) page table operation
(17) DAC conversion experiment
多线程并发之CountDownLatch阻塞等待
在MeterSphere接口测试中如何使用JMeter函数和MockJS函数
[beauty detection artifact] come on, please show your unique skill (is this beauty worthy of the audience?)
Cookies and session keeping technology
New patent applications and transfers
GameFramework食用指南
Encryption and decryption of tinyurl in leetcode
随机推荐
PHP实现敏感词过滤系统「建议收藏」
Good looking UI mall source code has been scanned, no back door, no encryption
Intel's open source deep learning tool library openvino will increase cooperation with local software and hardware parties and continue to open
Leetcode records - sort -215, 347, 451, 75
Iommu/smmuv3 code analysis (10) page table operation
Jojogan practice
redis -- 数据类型及操作
越来越多地使用 SLO 来实现可观测性|DevOps
Encryption and decryption of tinyurl in leetcode
Redis -- data type and operation
荣威 RX5 的「多一点」产品策略
多线程并发之CountDownLatch阻塞等待
LeetCode中等题之TinyURL 的加密与解密
[splishsplash] about how to receive / display user parameters, MVC mode and genparam on GUI and JSON
在MeterSphere接口测试中如何使用JMeter函数和MockJS函数
PHP implements sensitive word filtering system "suggestions collection"
MySQL -- explain performance optimization
Is it reasonable and safe to open a securities account for 10000 shares free of charge? How to say
Kia recalls some K3 new energy with potential safety hazards
[C language foundation] 12 strings