mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Merge pull request #384 from pabloelices/patch-1
[coffeescript/es] Better translation.
This commit is contained in:
commit
0762fe0340
@ -44,7 +44,7 @@ math =
|
||||
# "cube": function(x) { return x * square(x); }
|
||||
#}
|
||||
|
||||
# Símbolos:
|
||||
# Número de argumentos variable:
|
||||
race = (winner, runners...) ->
|
||||
print winner, runners
|
||||
|
||||
@ -52,6 +52,6 @@ race = (winner, runners...) ->
|
||||
alert "I knew it!" if elvis?
|
||||
#=> if(typeof elvis !== "undefined" && elvis !== null) { alert("I knew it!"); }
|
||||
|
||||
# Colecciones por comprensión:
|
||||
# Listas:
|
||||
cubes = (math.cube num for num in list) #=> ...
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user