技术栈

es 新特性

日升_rs
8 个月前
javascript·浏览器·es 新特性
JavaScript 中 structuredClone 和 JSON.parse(JSON.stringify()) 克隆对象的区别structuredClone 是在 ECMAScript 2021(ES12)标准中引入的,ECMAScript 2021 规范正式发布于 2021 年 6 月
日升_rs
1 年前
前端·javascript·es 新特性
ES 2024 新特性ECMAScript 2024, the 15th edition, added facilities for resizing and transferring ArrayBuffers and SharedArrayBuffers; added a new RegExp /v flag for creating RegExps with more advanced features for working with sets of strings; and introduced the Promise