摘要:
canvas = document.getElementById('canvas1'); var context = canvas.getContext('2d');context.fillStyle = 'rgba(255, 255, 255, 0)' var context = canvas.g 阅读全文
摘要:
document.documentElement.scrollTop||document.body.scrollTop 阅读全文
摘要:
arr = [1,2,3,4,5] console.log(arr[arr.length-1]) //输出的为5,即最后一个 阅读全文