- Notifications
You must be signed in to change notification settings - Fork28
Arrow functions, the basics#88
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Arrow functions, the basics#88
Uh oh!
There was an error while loading.Please reload this page.
Conversation
CLAassistant commentedJan 11, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@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'
Istnieją jeszcze funkcje o krótszej i zwięzłej składni, która często jest lepsza niż wyrażenia funkcyjne. | ||
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ń lubinstrukcji.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
javascript-translate-bot commentedOct 16, 2021
Please make the requested changes. After it, add a comment "/done". |
Please review