function keyUp(e) {
  if (keyStatus.hasOwnProperty(e.key)) {
    keyStatus[e.key] = false;
  }
}
// User releases a key to stop an action.
User releases a key to stop an action.
User releases a key to stop an action .
function keyUp(e) {
  if (keyStatus.hasOwnProperty(e.key)) {
    keyStatus[e.key] = false;
  }
}
function keyUp ( e ) { if ( keyStatus . hasOwnProperty ( e . key ) ) { keyStatus [ e . key ] = false ; } }
User releases a key to stop an action.
User releases a key to stop an action .