摘要: 20230224 顺利通过 20230225 顺利通过 20230227 顺利通过 20230302 顺利通过 20230314 顺利通过 原题解 ###题目 约束 ###题解 class Solution { public: vector<vector<int>> merge(vector<vec 阅读全文
posted @ 2023-02-23 23:48 垂序葎草 阅读(227) 评论(0) 推荐(0)
摘要: 20230225 顺利通过 20230227 顺利通过 20230302 顺利通过 原题解 ###题目 约束 ###题解 class Solution { public: bool canJump(vector<int>& nums) { int n = nums.size(); int right 阅读全文
posted @ 2023-02-23 23:33 垂序葎草 阅读(32) 评论(0) 推荐(0)
摘要: 视频 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>箭头函数实践 阅读全文
posted @ 2023-02-23 23:20 垂序葎草 阅读(24) 评论(0) 推荐(0)
摘要: 视频 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>箭头函数</ 阅读全文
posted @ 2023-02-23 23:13 垂序葎草 阅读(31) 评论(0) 推荐(0)
摘要: 视频 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>简化对象写法 阅读全文
posted @ 2023-02-23 23:02 垂序葎草 阅读(21) 评论(0) 推荐(0)
摘要: 视频 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>模板字符串< 阅读全文
posted @ 2023-02-23 22:58 垂序葎草 阅读(25) 评论(0) 推荐(0)
摘要: 视频 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>变量的解构赋 阅读全文
posted @ 2023-02-23 21:46 垂序葎草 阅读(16) 评论(0) 推荐(0)
摘要: 视频 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>const 阅读全文
posted @ 2023-02-23 21:41 垂序葎草 阅读(25) 评论(0) 推荐(0)
摘要: 视频 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>点击 DIV 阅读全文
posted @ 2023-02-23 21:18 垂序葎草 阅读(26) 评论(0) 推荐(0)
摘要: 视频 <!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 垂序葎草 阅读(13) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 自增 ++ * - 通过自增可以使变量在自身的基础上增加1 * - 对于一个变量自增以后 阅读全文
posted @ 2023-02-23 20:42 垂序葎草 阅读(90) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 一元运算符,只需要一个操作数 * + 正号 * - 正号不会对数字产生任何影响 * - 阅读全文
posted @ 2023-02-23 20:40 垂序葎草 阅读(28) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 运算符也叫操作符 * 通过运算符可以对一个或多个值进行运算,并获取运算结果 * 比如:t 阅读全文
posted @ 2023-02-23 20:39 垂序葎草 阅读(22) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 将其他的数据类型转换为Boolean * - 使用Boolean()函数 * - 数字 阅读全文
posted @ 2023-02-23 20:39 垂序葎草 阅读(61) 评论(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 垂序葎草 阅读(20) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 将其他的数据类型转换为Number * 转换方式一: * 使用Number()函数 * 阅读全文
posted @ 2023-02-23 20:37 垂序葎草 阅读(175) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 强制类型转换 * - 指将一个数据类型强制转换为其他的数据类型 * - 类型转换主要指, 阅读全文
posted @ 2023-02-23 20:36 垂序葎草 阅读(44) 评论(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 垂序葎草 阅读(30) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * Boolean 布尔值 * 布尔值只有两个,主要用来做逻辑判断 * true * - 表 阅读全文
posted @ 2023-02-23 14:28 垂序葎草 阅读(17) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 在JS中所有的数值都是Number类型, * 包括整数和浮点数(小数) * * JS中可 阅读全文
posted @ 2023-02-23 13:51 垂序葎草 阅读(32) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript"> /* * 数据类型指的就是字面量的类型 * 在JS中一共有六种数据类型 * String 字符 阅读全文
posted @ 2023-02-23 13:50 垂序葎草 阅读(13) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 标识符 * - 在JS中所有的可以由我们自主命名的都可以称为是标识符 * - 例如:变量 阅读全文
posted @ 2023-02-23 13:40 垂序葎草 阅读(37) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 字面量,都是一些不可改变的值 * 比如 :1 2 3 4 5 * 字面量都是可以直接使用 阅读全文
posted @ 2023-02-23 13:39 垂序葎草 阅读(26) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* 多行注释 JS注释 多行注释,注释中的内容不会被执行,但是可以在源代码中查看 要养成良好的编 阅读全文
posted @ 2023-02-23 13:37 垂序葎草 阅读(18) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <!-- 可以将js代码编写到外部js文件中,然后通过script标签引入 写到外部文件中可以在不同的页面中同时引用,也可以利用到浏览器的缓存机制 推荐使用的方式 阅读全文
posted @ 2023-02-23 13:35 垂序葎草 阅读(35) 评论(0) 推荐(0)