PageRenderTime 22ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/documentation/coffee/objects_and_arrays.coffee

http://github.com/jashkenas/coffee-script
CoffeeScript | 17 lines | 14 code | 3 blank | 0 comment | 0 complexity | bd2b70dcf3ddde7cd4629b14fb327ddc MD5 | raw file
 1song = ["do", "re", "mi", "fa", "so"]
 2
 3singers = {Jagger: "Rock", Elvis: "Roll"}
 4
 5bitlist = [
 6  1, 0, 1
 7  0, 0, 1
 8  1, 1, 0
 9]
10
11kids =
12  brother:
13    name: "Max"
14    age:  11
15  sister:
16    name: "Ida"
17    age:  9