Skip to content

Commit 5e995a8

Browse files
author
Tymoteusz
authored
Merge pull request #1 from 403-html/Refactoring
Small change in pigeons
2 parents aa734cc + 695ed45 commit 5e995a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pigeons-challenge/pigeons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function feeding(totalWheat){
1+
function feeding(totalWheat = 0){
22
let pigeonsTotal = 0;
33
let nextPigeonGroup = 1;
44
let currWheat = totalWheat;

0 commit comments

Comments
 (0)