上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 50 下一页
摘要: 视频 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>let</t 阅读全文
posted @ 2023-02-23 21:12 垂序葎草 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 自增 ++ * - 通过自增可以使变量在自身的基础上增加1 * - 对于一个变量自增以后 阅读全文
posted @ 2023-02-23 20:42 垂序葎草 阅读(68) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 一元运算符,只需要一个操作数 * + 正号 * - 正号不会对数字产生任何影响 * - 阅读全文
posted @ 2023-02-23 20:40 垂序葎草 阅读(9) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 运算符也叫操作符 * 通过运算符可以对一个或多个值进行运算,并获取运算结果 * 比如:t 阅读全文
posted @ 2023-02-23 20:39 垂序葎草 阅读(8) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 将其他的数据类型转换为Boolean * - 使用Boolean()函数 * - 数字 阅读全文
posted @ 2023-02-23 20:39 垂序葎草 阅读(53) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> var a = 123; /* * 在js中,如果需要表示16进制的数字,则需要以0x开头 * 如 阅读全文
posted @ 2023-02-23 20:38 垂序葎草 阅读(6) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 将其他的数据类型转换为Number * 转换方式一: * 使用Number()函数 * 阅读全文
posted @ 2023-02-23 20:37 垂序葎草 阅读(154) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 强制类型转换 * - 指将一个数据类型强制转换为其他的数据类型 * - 类型转换主要指, 阅读全文
posted @ 2023-02-23 20:36 垂序葎草 阅读(35) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * Null(空值)类型的值只有一个,就是null * null这个值专门用来表示一个为空的 阅读全文
posted @ 2023-02-23 20:34 垂序葎草 阅读(13) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * Boolean 布尔值 * 布尔值只有两个,主要用来做逻辑判断 * true * - 表 阅读全文
posted @ 2023-02-23 14:28 垂序葎草 阅读(7) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 50 下一页