mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
merging in master
This commit is contained in:
13
test/fixtures/execution/test_literals.coffee
vendored
13
test/fixtures/execution/test_literals.coffee
vendored
@@ -34,4 +34,15 @@ puts i is 0
|
||||
|
||||
money$: 'dollars'
|
||||
|
||||
puts money$ is 'dollars'
|
||||
puts money$ is 'dollars'
|
||||
|
||||
|
||||
bob: {
|
||||
name: 'Bob'
|
||||
greet: (salutation) ->
|
||||
salutation + " " + @name
|
||||
hello: ->
|
||||
@greet("Hello")
|
||||
}
|
||||
|
||||
puts bob.hello() is "Hello Bob"
|
||||
|
||||
Reference in New Issue
Block a user