← Back to Challenges
intermediate Time limit: 1:00

Move a Function Up

Move a function block above another.

Commands
VdP

Move a Function Up

Move a function block above another.

Time
0:00
/ 1:00
Editor0 keys
1function second() {
2 return 2;
3}
4
5function first() {
6 return 1;
7}
-- NORMAL --move-function-up
Target
1function first() {
2 return 1;
3}
4
5function second() {
6 return 2;
7}
-- NORMAL --move-function-up
⚠ Guest mode — Sign in to save your progress and score