Weekly 不发出来都没有动力更新, 都变成 Monthly 了???。 每一个连接下都是本身的拙见,望各位大佬多多指教。 博客连接
2017/12/24 - 2018/1/19javascript
Progressive JPEGs, 这个就颇有意思了前端
CORS 设置中先后端的角色(即请求和响应的不一样设置) 每一个字段的表明的意义react
HTTP 内容协商git
URL 接口github
URL.createObjectURL()
★ ★ ★ COMPILING TO JAVASCRIPTweb
WebAssembly 的技术,也能将 C / C++ 转成 JS 引擎能够运行的代码。那么它与 asm.js 有何区别呢?
The TC39 对 ECMAScript features 的处理过程
// 这个仍是有意思的: // An object can only be converted if it has a key valueOf and it's function returns any of the above types. +{ valueOf: function(){ return '0xFF' } } //returns 255
★ JS things I never knew existed
loop1: // labeling "loop1" for (let i = 0; i < 3; i++) { // "loop1" loop2: // labeling "loop2" for (let j = 0; j < 3; j++) { // "loop2" if (i === 1) { continue loop1; // continues upper "loop1" // break loop1; // breaks out of upper "loop1" } console.log(`i = ${i}, j = ${j}`); } }
y = false, true; // returns true in console console.log(y); // false (left-most) z = (false, true); // returns true in console console.log(z); // true (right-most)
Pipeline Operator: 管道操做符最近在 TC39 的提议中,不知是否会加入特性中,全看大佬们的啊。
const square = (n) => n * n; const increment = (n) => n + 1; // without pipeline operator square(increment(square(2))); // 25 // with pipeline operator 2 |> square |> increment |> square; // 25
<dialog open> Native dialog box! </dialog>