摘要: canvas = document.getElementById('canvas1'); var context = canvas.getContext('2d');context.fillStyle = 'rgba(255, 255, 255, 0)' var context = canvas.g 阅读全文
posted @ 2019-09-03 17:12 武卡卡 阅读(6630) 评论(0) 推荐(0) 编辑
摘要: document.documentElement.scrollTop||document.body.scrollTop 阅读全文
posted @ 2019-09-03 13:46 武卡卡 阅读(5513) 评论(0) 推荐(1) 编辑
摘要: arr = [1,2,3,4,5] console.log(arr[arr.length-1]) //输出的为5,即最后一个 阅读全文
posted @ 2019-09-03 13:17 武卡卡 阅读(1685) 评论(0) 推荐(1) 编辑