摘要:
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 阅读全文
摘要:
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, 阅读全文