We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa734cc + 695ed45 commit 5e995a8Copy full SHA for 5e995a8
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