摘要:
练习:99乘法表 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>99乘法表</title> <style> td{ border: 1px solid; } </style> <script> docume 阅读全文
posted @ 2022-11-01 14:59
夫君
阅读(33)
评论(0)
推荐(0)
摘要:
6. 流程控制语句: 1. if...else... 2. switch: * 在java中,switch语句可以接受的数据类型: byte int shor char,枚举(1.5) ,String(1.7) * switch(变量): case 值: * 在JS中,switch语句可以接受任意的 阅读全文
posted @ 2022-11-01 14:34
夫君
阅读(22)
评论(0)
推荐(0)
摘要:
5. 逻辑运算符 && || ! * 其他类型转boolean: 1. number:0或NaN为假,其他为真 2. string:除了空字符串(""),其他都是true 3. null&undefined:都是false 4. 对象:所有对象都为true 6. 三元运算符 ? : 表达式 var 阅读全文
posted @ 2022-11-01 11:11
夫君
阅读(37)
评论(0)
推荐(0)