11 2021 档案

摘要:There are two async exection context: Microtask Queue - ASAP (Promises, MutationObserver) Macrotask Queue - DO Later (setTimeout, setInterval, request 阅读全文
posted @ 2021-11-24 15:43 Zhentiw 阅读(46) 评论(0) 推荐(0) 编辑
摘要:lib.js import { parse, evaluate } from "groq-js" export let groq = async ([query]) => { let tree = parse(query) return async dataset => { let result = 阅读全文
posted @ 2021-11-21 18:07 Zhentiw 阅读(163) 评论(0) 推荐(0) 编辑
摘要:const ary = [1, 2, 3, 4, 2, 3]; const unqiAry = (ary) => ary.filter((item, index) => ary.indexOf(item) index) unqiAry(ary) // [ 1, 2, 3, 4 ] const ary 阅读全文
posted @ 2021-11-05 15:36 Zhentiw 阅读(45) 评论(0) 推荐(0) 编辑
摘要:S3 Usage Patterns S3 doesn't suit for following usecases: POSIX-compliant file system: should use EFS. POSIX -- refer to Linux or Unix files Structure 阅读全文
posted @ 2021-11-05 14:22 Zhentiw 阅读(317) 评论(0) 推荐(0) 编辑
摘要:Z-index cannot be added to static position DOM element. All the DOM element by default is static position. So if you have to add z-index, you can add 阅读全文
posted @ 2021-11-03 15:58 Zhentiw 阅读(36) 评论(0) 推荐(0) 编辑
摘要:let other = null console.log(other?.[0]) // undefined You can use optional chaining to access elements in an array. If the array is null or undefined, 阅读全文
posted @ 2021-11-03 01:05 Zhentiw 阅读(25) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示