We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa734cc commit 695ed45Copy full SHA for 695ed45
1 file changed
pigeons-challenge/pigeons.js
@@ -1,4 +1,4 @@
1
-function feeding(totalWheat){
+function feeding(totalWheat = 0){
2
let pigeonsTotal = 0;
3
let nextPigeonGroup = 1;
4
let currWheat = totalWheat;
0 commit comments