1 | require '../bootstrap'
|
2 |
|
3 | test = ->
|
4 | people =
|
5 | john:
|
6 | first_name: 'john'
|
7 | last_name: 'doe'
|
8 | mary:
|
9 | first_name: 'mary'
|
10 | last_name: 'jane'
|
11 |
|
12 | # require './invalid'
|
13 |
|
14 | # throw new Error 'palevioletred'
|
15 | console.log("Welcome", people[p].first_name, people[p].last_name, "!!!") for p in ['john', 'mary', 'josh']
|
16 |
|
17 | delegate = -> test()
|
18 |
|
19 | process.nextTick delegate
|