hexuan

Results 3 comments of 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 >=...

![](https://blog-1255677601.cossh.myqcloud.com/blog/2020-05-13-040639.jpg) 对应题目: - 子项溢出空间的宽度为 $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) 属性来检测用户系统的主题。