Skip to content

Export and Import #242

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

Merged
merged 21 commits into from
Dec 28, 2021
Merged

Export and Import #242

merged 21 commits into from
Dec 28, 2021

Conversation

Purusah
Copy link
Contributor

@Purusah Purusah commented Dec 26, 2021

Translated Export and Import

|--------------|----------------|
| `export class User {...}` | `export default class User {...}` |
| `import {User} from ...` | `import User from ...`|

Technically, we may have both default and named exports in a single module, but in practice people usually don't mix them. A module has either named exports or the default one.
Технічно, ми можемо використовувати іменовані експорти та експорти за замовчуванням в одному модулі, але, на практиці, їх не прийнято змішувати. Модулі повинні мати або іменований експорт, або за замовчуванням.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Технічно, ми можемо використовувати іменовані експорти та експорти за замовчуванням в одному модулі, але, на практиці, їх не прийнято змішувати. Модулі повинні мати або іменований експорт, або за замовчуванням.
Технічно, ми можемо використовувати іменовані експорти та типові експорти в одному модулі, але, на практиці, їх не прийнято змішувати. Модулі повинні мати або іменований експорт, або типовий.

@javascript-translate-bot
Copy link
Contributor

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

@Purusah
Copy link
Contributor Author

Purusah commented Dec 27, 2021

/done

@tarasyyyk tarasyyyk merged commit 81a6898 into javascript-tutorial:master Dec 28, 2021
@javascript-translate-bot
Copy link
Contributor

Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants