- Notifications
You must be signed in to change notification settings - Fork184
Functions (tasks, solutions)#144
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
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
40 commits Select commitHold shift + click to select a range
2657e40 Functions (#127)
hypeofpipe70d7220 Translate 'Parameters'
tarasyyykb5037dc Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykc3baaa4 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykd6836ea Translate 'default values'
tarasyyyk09129f1 Merge branch 'function-basics' of github.com:javascript-tutorial/uk.j…
tarasyyyk4a323cb Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykc81076a Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk3b15e47 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykb3ee6b3 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk90a0055 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk2f752e7 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk75bdab2 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk2927bdf Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyka9c06b2 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk8fa0670 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk998c089 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykc81cd91 Merge branch 'master' into function-basics
tarasyyykc9a4759 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk551e343 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykd13a0a5 Translate 'Alternative default parameters'
tarasyyyk63a71ac Fix lines
tarasyyyk69b1d4e Translate 'Returning value'
tarasyyyk5e69205 Translate 'Naming a function'
tarasyyyka92a590 Translate 'Functions == Comments'
tarasyyykbbef865 Translate 'Summary'
tarasyyyk49c7498 Translate tasks
tarasyyyk35a7e7b Small correction
tarasyyykd8b912e Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykc04547d Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykc593e1c Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykd7782b5 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk94edb76 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyke07b2db Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykda2c2b9 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykfade570 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk061af87 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk8c7507d Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyyk24f31a2 Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykf866d6a Update 1-js/02-first-steps/15-function-basics/article.md
tarasyyykFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 1 addition & 1 deletion1-js/02-first-steps/15-function-basics/1-if-else-required/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Обидва варіанти працюють однаково, різниці немає. |
14 changes: 7 additions & 7 deletions1-js/02-first-steps/15-function-basics/1-if-else-required/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions1-js/02-first-steps/15-function-basics/2-rewrite-function-question-or/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,17 @@ | ||
| Використовуючи оператор `'?'`: | ||
| ```js | ||
| function checkAge(age) { | ||
| return (age > 18) ? true : confirm('Батьки дозволили?'); | ||
| } | ||
| ``` | ||
| Використовуючи оператор АБО`||` (найкоротший варіант): | ||
| ```js | ||
| function checkAge(age) { | ||
| return (age > 18) || confirm('Батьки дозволили?'); | ||
| } | ||
| ``` | ||
| Зверніть увагу, що круглі дужки навколо`age > 18`не обов’язкові. Вони тут для кращої читабельності коду. |
16 changes: 8 additions & 8 deletions1-js/02-first-steps/15-function-basics/2-rewrite-function-question-or/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions1-js/02-first-steps/15-function-basics/3-min/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions1-js/02-first-steps/15-function-basics/3-min/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion1-js/02-first-steps/15-function-basics/4-pow/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions1-js/02-first-steps/15-function-basics/4-pow/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.