- Notifications
You must be signed in to change notification settings - Fork7
Translation of the article "Functions" into Lithuanian#108
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
18 commits Select commitHold shift + click to select a range
1e285b0
20%
Alexandre887b6d05e3
28%
Alexandre887900b8ef
80%
Alexandre8879e610f7
100%
Alexandre8878000224
100%
Alexandre887c5497cf
100%
Alexandre8877af3c05
100%
Alexandre887816fa6e
120%
Alexandre887688b0a9
200%
Alexandre8876d51279
200%
Alexandre8876b09e86
200%
Alexandre887bcc305a
200%
Alexandre887f420dff
200%
Alexandre887305f087
200%
Alexandre88771736f0
200%
Alexandre8870dd8644
200%
Alexandre8870581b12
200%
Alexandre8878cc90ba
200%
Alexandre887File 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/14-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 @@ | ||
Abi funkcijos veikia vienodai, skirtumų nėra. |
14 changes: 7 additions & 7 deletions1-js/02-first-steps/14-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/14-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 @@ | ||
Naudojant operatorių `?`: | ||
```js | ||
function checkAge(age) { | ||
return (age > 18) ? true : confirm('Ar tėvai leido?'); | ||
} | ||
``` | ||
Naudojant operatorių `||` (trumpiausias variantas): | ||
```js | ||
function checkAge(age) { | ||
return (age > 18) || confirm('Ar tėvai leido?'); | ||
} | ||
``` | ||
Atkreipkite dėmesį, kad skliaustai aplink `age > 18`yra neprivalomi. Jie skirti geresniam kodo skaitomumui užtikrinti. |
16 changes: 8 additions & 8 deletions1-js/02-first-steps/14-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/14-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/14-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/14-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/14-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.