- Notifications
You must be signed in to change notification settings - Fork30
Strings#133
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
CheerfulCherry merged 19 commits intojavascript-tutorial:masterfromCheerfulCherry:masterOct 22, 2022
Uh oh!
There was an error while loading.Please reload this page.
Merged
Strings#133
Changes fromall commits
Commits
Show all changes
19 commits Select commitHold shift + click to select a range
12b07a8
03-string>1-ucfirst
CheerfulCherryb161b30
03-string>2-check-spam
CheerfulCherry20587fa
03-string>03-truncate
CheerfulCherrybadc904
03-string>4-extract-currency
CheerfulCherryf380c0b
string#quotes
CheerfulCherry7e952df
string#special-characters
CheerfulCherry82285a9
string#string-length
CheerfulCherryadcfca6
string#accessing-characters
CheerfulCherry6ae22e7
string#strings-are-immutable
CheerfulCherry5100f5f
string#changing-the-case
CheerfulCherrye2c28bf
string#searching-for-a-substring
CheerfulCherry075ea56
string#getting-a-substring
CheerfulCherryb12d778
string#comparing-strings
CheerfulCherry5ed97bc
string#correct-comparisons
CheerfulCherry8d6c4b8
string#surrogate-pairs
CheerfulCherry2f21740
#diacritical-marks-and-normalization
CheerfulCherryc35927c
string#summary
CheerfulCherry66fa6e8
small fixes
CheerfulCherry2281d2e
Update test.js
CheerfulCherryFile 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
6 changes: 3 additions & 3 deletions1-js/05-data-types/03-string/1-ucfirst/_js.view/test.js
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,9 +1,9 @@ | ||
describe("ucFirst", function() { | ||
it('Zmienia pierwszy znak na wielką literę', function() { | ||
assert.strictEqual(ucFirst("john"), "John"); | ||
}); | ||
it("Nie wysypuje się na pustym łańcuchu", function() { | ||
assert.strictEqual(ucFirst(""), ""); | ||
}); | ||
}); |
14 changes: 7 additions & 7 deletions1-js/05-data-types/03-string/1-ucfirst/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
4 changes: 2 additions & 2 deletions1-js/05-data-types/03-string/1-ucfirst/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/05-data-types/03-string/2-check-spam/_js.view/test.js
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,13 +1,13 @@ | ||
describe("checkSpam", function() { | ||
it('uważa"buy ViAgRA now" za spam', function() { | ||
assert.isTrue(checkSpam('buy ViAgRA now')); | ||
}); | ||
it('uważa"free xxxxx" za spam', function() { | ||
assert.isTrue(checkSpam('free xxxxx')); | ||
}); | ||
it('nie uważa"innocent rabbit" za spam', function() { | ||
assert.isFalse(checkSpam('innocent rabbit')); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion1-js/05-data-types/03-string/2-check-spam/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/05-data-types/03-string/2-check-spam/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
12 changes: 6 additions & 6 deletions1-js/05-data-types/03-string/3-truncate/_js.view/test.js
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
4 changes: 2 additions & 2 deletions1-js/05-data-types/03-string/3-truncate/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
12 changes: 6 additions & 6 deletions1-js/05-data-types/03-string/3-truncate/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/05-data-types/03-string/4-extract-currency/_js.view/test.js
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/05-data-types/03-string/4-extract-currency/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.