Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ keyRight
Function
keyRight
assets/js/2048.js:156–161 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
154
document.addEventListener(
'keyup'
, control)
155
156
function
keyRight() {
157
moveRight()
158
combineRow()
159
moveRight()
160
generate()
161
}
162
163
function
keyLeft() {
164
moveLeft()
Callers
1
control
Function · 0.85
Calls
3
combineRow
Function · 0.85
moveRight
Function · 0.70
generate
Function · 0.70
Tested by
no test coverage detected