📅  最后修改于: 2022-03-11 15:03:41.682000             🧑  作者: Mango
// In the case of a jQuery selector, we could cache the DOM element.
let navright = document.querySelector('#right');
let navleft = document.querySelector('#left');
let navup = document.querySelector('#up');
let navdown = document.querySelector('#down');