hexuan
hexuan
``` Array.prototype.splice = function(start, deleteCount, ...items) { let deletedItems = []; if (Object.is(arguments.length, 0)) return deletedItems; const length = this.length; let actualStart = +start || 0; actualStart = actualStart >=...
 对应题目: - 子项溢出空间的宽度为 $500 + 400 - 600 = 300$ - left 收缩比例:$(500 × 2) ÷ (500 × 2 + 400 × 1) ≈ 0.7143$ - right 收缩比例:$(400 ×...
可以通过 Media Query 查询 [prefers-color-scheme](https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme) 属性来检测用户系统的主题。