摘要: 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 阅读(35) 评论(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 阅读(24) 评论(0) 推荐(0) 编辑