摘要:
Array.prototype.outputMaxPrice = function outputMaxPrice (array) { const item1 = Math.max.apply( Math, array ); const item2 = Math.min.apply( Math, ar 阅读全文
摘要:
<div id='box' style="width: 400px; height: 400px"> <div id='center'> 未知宽高的div </div> </div> const box = document.querySelector("#box"); const center = 阅读全文