Notes for lesson 4 of CodeSchool's CoffeScript class

The following is my notes for the challenges on level 4 of of CodeSchool's CoffeeScript course (https://www.codeschool.com/courses/coffeescript).
********* challenge 4.1

nums = [1..10]

********* challenge 4.2

nums = [1...10]

********* challenge 4.3

coffee =
  name: 'Russian'
  level: 2
  isRussian: ->
    return true

********* challenge 4.4

console.log(person.name) for person in people when person.age > 18

********* challenge 4.5

# for person in people
#   console.log(person.name) if person.age > 18

console.log(person.name) for person in people when person.age > 18

********* challenge 4.6

# for coffee in coffeeList
#   if not coffee.isRussian?()
#     addCoffee(coffee)

addCoffee(coffee) for coffee in coffeeList when not coffee.isRussian?()

********* challenge 4.7

# displayTopPicks = (bestCoffee, suggested) ->
#   alert('Top #1 ' + bestCoffee)
#   alert('Suggested: ' + suggested)
    
displayTopPicks = (bestCoffee, suggested...) ->
  alert('Top #1 ' + bestCoffee)
  alert('Suggested: ' + suggested.join(", "))
ee(coffee) for coffee in coffeeList when not coffee.isRussian?()