about | help | code help+videos | done | prefs |
If the stack's head is 8, return the stack unchanged. If the stack's head is not 8, change the head to have a value 8 more than it currently has. stackHeadPlus8([8]) → [8] stackHeadPlus8([2]) → [10] stackHeadPlus8([1, 4, 9]) → [1, 4, 17] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 300
Copyright Nick Parlante 2017 - privacy