-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arrow functions, the basics #88
base: master
Are you sure you want to change the base?
Arrow functions, the basics #88
Conversation
@AlenJakob Can you push this pull request forward? |
@@ -1,7 +1,7 @@ | |||
|
|||
# Rewrite with arrow functions | |||
# Przepisz kod użwając funckji strzałkowych |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix mistyped words: 'użwając', 'funckji'
|
||
It's called "arrow functions", because it looks like this: | ||
Nazywają się "funkcjami strzałkowymi" i wyglądają następująco: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace 'i wyglądają' with 'ponieważ wyglądają' to keep the original meaning
|
||
Sometimes we need something a little bit more complex, like multiple expressions or statements. It is also possible, but we should enclose them in curly braces. Then use a normal `return` within them. | ||
Czasami potrzebujemy czegoś bardziej złożonego, na przykład wielu wyrażeń lub instrukcji. Powinniśmy je wtedy napisać w nawiasach klamrowych i oczywiście, nie zapomnieć o "return". | ||
|
||
Like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please translate this line too
Please make the requested changes. After it, add a comment "/done". |
Please review