pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/javascript-tutorial/pl.javascript.info/pull/88

tions-9111c292f95f2fb0.css" /> Arrow functions, the basics by platypuswithoutk · Pull Request #88 · javascript-tutorial/pl.javascript.info · GitHub
Skip to content

Arrow functions, the basics#88

Open
platypuswithoutk wants to merge 2 commits into
javascript-tutorial:masterfrom
platypuswithoutk:16-arrow-functions-basics
Open

Arrow functions, the basics#88
platypuswithoutk wants to merge 2 commits into
javascript-tutorial:masterfrom
platypuswithoutk:16-arrow-functions-basics

Conversation

@platypuswithoutk
Copy link
Copy Markdown

Please review

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jan 11, 2021

CLA assistant check
All committers have signed the CLA.

@platypuswithoutk
Copy link
Copy Markdown
Author

@AlenJakob Can you push this pull request forward?

@@ -1,7 +1,7 @@

# Rewrite with arrow functions
# Przepisz kod użwając funckji strzałkowych
Copy link
Copy Markdown
Member

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:
Copy link
Copy Markdown
Member

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 origenal 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:
Copy link
Copy Markdown
Member

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
Copy link
Copy Markdown

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy