--- a/scratch/seat-note.js +++ b/scratch/seat-note.js @@ -1,6 +1,6 @@ function seatsLeft(capacity, taken) { - const freeSeats = capacity - taken; - return Math.max(0, freeSeats); + const availableSeats = capacity - taken; + return Math.max(0, availableSeats); } const guidance = "replace freeSeats with availableSeats";