- 2023-11-27es11
1.Promise.allSettledES11新增的Promise的方法接收一个Promise数组,数组中如有非Promise项,则此项当做成功把每一个Promise的结果,集合成数组,返回functionfn(time,isResolve){returnnewPromise((resolve,reject)=>{setTimeout(()=>{isResolve
- 2023-07-10复习ES(6-11)语法之ES11
目录String.prototype.matchAll()按需导入新的原始数据类型:BigIntPromise扩展globalThis可选链空值合并运算符String.prototype.matchAll()conststr=`<html><body><div>这是第一个div</div><p>我是p</p><
- 2023-03-29ES6-ES11 ES9正则扩展-命名捕获分组
视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>
- 2023-03-11ES6-ES11 ES11 BigInt
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title
- 2023-03-11ES6-ES11目录
ES6-ES11let变量声明以及声明特性ES6-ES11let实践案例ES6-ES11const声明常量以及特点ES6-ES11变量的解构赋值ES6-ES11模板字符串ES6-ES11对象的简化写法ES6-ES
- 2023-03-11ES6-ES11 ES11绝对全局对象globalThis
原视频忽略变量环境,引用全局变量html<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width
- 2023-03-11ES6-ES11 ES11String.prototype.matchAll
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title
- 2023-03-11ES6-ES11 ES11可选链操作符
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title
- 2023-03-10ES6-ES11 ES10-Symbol.prototype.description
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title
- 2023-03-09ES6-ES11 ES8对象方法扩展
视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>E
- 2023-03-09ES6-ES11 ES6模块 暴露数据 & 引入模块数据 语法汇总
index.html<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><t
- 2023-03-09ES6-ES11 bable对ES6模块化代码的转换(已过时,仅了解)
原视频让ES新特性以ES5形式展现home.html<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-w
- 2023-03-08ES6-ES11 ES6的数值扩展
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>数值扩
- 2023-03-08ES6-ES11 对象方法扩展
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>对象方
- 2023-03-08ES6-ES11 class中getter和setter设置
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>get和
- 2023-03-08ES6-ES11 class静态成员
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>静态成
- 2023-03-08ES6-ES11 ES5构造函数继承
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>对象继
- 2023-03-08ES6-ES11 Map的介绍与API
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>Map</t
- 2023-03-05ES6-ES11 Promise实践练习-多个文件内容读取
原视频//引入fs模块constfs=require("fs");//fs.readFile('./resources/为学.md',(err,data1)=>{//fs.readFile('./resources/插秧诗.md',(err,data2)
- 2023-03-05ES6-ES11 Set集合介绍与API
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title
- 2023-03-05ES6-ES11 Promise.prototype.then方法
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title
- 2023-03-05ES6-ES11 Promise封装读取文件
原视频//1.引入fs模块constfs=require('fs');//2.调用方法读取文件//fs.readFile('./resources/为学.md',(err,data)=>{////如果失败,则抛出错误//
- 2023-03-05ES6-ES11 Promise封装AJAX
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><titl
- 2023-03-05ES6-ES11 promise介绍与基本使用
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title
- 2023-03-04ES6-ES11 生成器函数的实例(解决回调地狱问题)
原视频<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><titl