mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Better translation.
This commit is contained in:
parent
c149c619da
commit
e0fbcf5b83
@ -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