diff options
author | Alex Saskevich <asaskevich@users.noreply.github.com> | 2014-10-12 11:11:40 +0300 |
---|---|---|
committer | Alex Saskevich <asaskevich@users.noreply.github.com> | 2014-10-12 11:11:40 +0300 |
commit | fb9726b7bef32fd2a94a4eca05ee7e0ba470fed7 (patch) | |
tree | 1bd9a8ca039dea1f69fbeffa5a2ad9ef3d4af9a4 /ru-ru/coffeescript-ru.html.markdown | |
parent | 7519249a0e66f3447bc0e91a0390f015e458b0a5 (diff) |
Update coffeescript-ru.html.markdown
Diffstat (limited to 'ru-ru/coffeescript-ru.html.markdown')
-rw-r--r-- | ru-ru/coffeescript-ru.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ru-ru/coffeescript-ru.html.markdown b/ru-ru/coffeescript-ru.html.markdown index 9ee547a4..f8416f38 100644 --- a/ru-ru/coffeescript-ru.html.markdown +++ b/ru-ru/coffeescript-ru.html.markdown @@ -60,7 +60,7 @@ math = # "cube": function(x) { return x * square(x); } #} -# Функции: +# Многоточия: race = (winner, runners...) -> print winner, runners #=>race = function() { @@ -73,7 +73,7 @@ race = (winner, runners...) -> alert "Так и знал!" if elvis? #=> if(typeof elvis !== "undefined" && elvis !== null) { alert("Так и знал!"); } -# Понимание массивов: +# Итерации по массивам: cubes = (math.cube num for num in list) #=>cubes = (function() { # var _i, _len, _results; |