摘要: 扩展知识 : 1.JavaScript的应用 2.浏览器内核[ WebKit ]由 WebCore 和 JavaScriptCore 组成 WebCore : 负责HTML解析,布局,渲染 JavaScriptCore : 解析,执行JavaScript代码 [js引擎] 3.JavaScript不 阅读全文
posted @ 2022-09-23 17:35 杨建鑫 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2022-09-23 15:52 杨建鑫 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2022-09-23 15:51 杨建鑫 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 8种基本的数据类型(7种原始类型和1种复杂类型) Number String Boolean Undefined Null Object BigInt(了解) Symbol(了解) typeof 操作符 因为JavaScript的数据类型是动态的,所以需要一种手段来确定任意变量的数据类型,由此产生了 阅读全文
posted @ 2022-09-23 15:51 杨建鑫 阅读(14) 评论(0) 推荐(0) 编辑
摘要: JavaScript的组成 ECMAScript : 定义语言规范 DOM : 操作文档的API BOM : 操作浏览器的API 扩展知识 阅读全文
posted @ 2022-09-23 15:50 杨建鑫 阅读(16) 评论(0) 推荐(0) 编辑
摘要: import { HYEventStore } from "hy-event-store" import { getPlaylistDetail } from "../services/music" const recommendStore = new HYEventStore({ state: { 阅读全文
posted @ 2022-09-23 10:56 杨建鑫 阅读(42) 评论(0) 推荐(0) 编辑
摘要: // 1.引入store const { HYEventStore } = require("hy-event-store") // 引入axios const axios = require("axios") // 创建一个仓库 const userStore = new HYEventStore 阅读全文
posted @ 2022-09-23 10:38 杨建鑫 阅读(121) 评论(0) 推荐(0) 编辑