日日行,不怕千万里
摘要: Array.prototype.outputMaxPrice = function outputMaxPrice (array) { const item1 = Math.max.apply( Math, array ); const item2 = Math.min.apply( Math, ar 阅读全文
posted @ 2017-10-30 23:29 GongXiaoZhu 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: <div id='box' style="width: 400px; height: 400px"> <div id='center'> 未知宽高的div </div> </div> const box = document.querySelector("#box"); const center = 阅读全文
posted @ 2017-10-30 19:28 GongXiaoZhu 阅读(323) 评论(0) 推荐(0) 编辑