Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
0455567
installed jest
EMMANUEL-A25 Dec 3, 2024
a5805ac
get angle type function
EMMANUEL-A25 Dec 3, 2024
49b57b0
exporting angle type function for testing
EMMANUEL-A25 Dec 3, 2024
23eb70b
test case file
EMMANUEL-A25 Dec 3, 2024
6408987
5 type of angle tests
EMMANUEL-A25 Dec 3, 2024
ed96256
get card value function
EMMANUEL-A25 Dec 3, 2024
9cc7315
epsorting the getcardvalue function
EMMANUEL-A25 Dec 3, 2024
d8f1af0
file for get-card-value test cases
EMMANUEL-A25 Dec 3, 2024
babde67
getCardValue test cases
EMMANUEL-A25 Dec 3, 2024
7b610f9
is properFraction function
EMMANUEL-A25 Dec 3, 2024
aab6e2e
exporting isproperfraction function
EMMANUEL-A25 Dec 3, 2024
968ddf8
file for is proper function test case
EMMANUEL-A25 Dec 3, 2024
0537d6f
isproperfraction test cases
EMMANUEL-A25 Dec 3, 2024
0e9c76e
isValidTriangle function
EMMANUEL-A25 Dec 3, 2024
699b87f
exporting the isvalidtriangle function
EMMANUEL-A25 Dec 3, 2024
cc6526e
isvalid triangle test case
EMMANUEL-A25 Dec 3, 2024
11783cb
commenting
EMMANUEL-A25 Dec 3, 2024
4fbab41
rotate character function
EMMANUEL-A25 Dec 3, 2024
099c1aa
exporting the rotateCharacter function
EMMANUEL-A25 Dec 3, 2024
2a4f69a
rotate character test cases
EMMANUEL-A25 Dec 4, 2024
487fb5c
rotate character file and test cases
EMMANUEL-A25 Dec 4, 2024
9e9ac0c
create a count js file
EMMANUEL-A25 Dec 4, 2024
66706d0
count character function
EMMANUEL-A25 Dec 4, 2024
909cc91
exporting the count char function
EMMANUEL-A25 Dec 4, 2024
83d1fb8
get ordinal number js file
EMMANUEL-A25 Dec 4, 2024
bbac933
getOrdinalNumber function
EMMANUEL-A25 Dec 4, 2024
3da5a95
get ornial number test cases
EMMANUEL-A25 Dec 4, 2024
6cab33c
exporting the get ordinal number function
EMMANUEL-A25 Dec 4, 2024
1e17560
js file for is prime function
EMMANUEL-A25 Dec 4, 2024
de9797e
js file for password validator project
EMMANUEL-A25 Dec 4, 2024
0547e6d
js file for repeat function
EMMANUEL-A25 Dec 4, 2024
d79ad1c
is prime function
EMMANUEL-A25 Dec 4, 2024
25b1091
exporting my function isPrime
EMMANUEL-A25 Dec 4, 2024
c5fbc33
test cases for is prime function
EMMANUEL-A25 Dec 4, 2024
7867ccf
password validator function
EMMANUEL-A25 Dec 4, 2024
2cf59b6
test cases the paswword validator function
EMMANUEL-A25 Dec 4, 2024
aeda383
function repeat
EMMANUEL-A25 Dec 4, 2024
da7f3cc
exporting the module
EMMANUEL-A25 Dec 4, 2024
a5ff669
test cases for the repeat function
EMMANUEL-A25 Dec 4, 2024
7a365d0
exporting the check password function
EMMANUEL-A25 Dec 4, 2024
2e79cba
rotate character function fixing the export
EMMANUEL-A25 Dec 4, 2024
4d5e0a7
solutions to questions
EMMANUEL-A25 Dec 4, 2024
1c7e88b
card validator function
EMMANUEL-A25 Dec 4, 2024
9c2bed0
Update get-angle-type.js
EMMANUEL-A25 Dec 8, 2024
5618c98
Update get-card-value.js
EMMANUEL-A25 Dec 8, 2024
e1fd233
Update get-card-value.test.js
EMMANUEL-A25 Dec 8, 2024
8a32c3f
Update get-card-value.test.js
EMMANUEL-A25 Dec 8, 2024
660da3e
Update repeat.js
EMMANUEL-A25 Dec 9, 2024
2d225ca
Update repeat.test.js
EMMANUEL-A25 Dec 9, 2024
dcf6ce9
Update find.js
EMMANUEL-A25 Dec 9, 2024
3e307a3
Update find.js
EMMANUEL-A25 Dec 9, 2024
5e6d56f
Update password-validator.test.js
EMMANUEL-A25 Dec 9, 2024
3603ef8
Update is-prime.test.js
EMMANUEL-A25 Dec 9, 2024
2f4f386
Update is-prime.js
EMMANUEL-A25 Dec 9, 2024
293e59f
Update is-prime.js
EMMANUEL-A25 Dec 9, 2024
9830f5b
Update get-ordinal-number.test.js
EMMANUEL-A25 Dec 9, 2024
e94ff41
Update get-angle-type.js
EMMANUEL-A25 Dec 14, 2024
7dc7129
Update get-angle-type.js
EMMANUEL-A25 Dec 14, 2024
5d6a07d
Update get-card-value.js
EMMANUEL-A25 Dec 14, 2024
806bfcd
Update is-proper-fraction.js
EMMANUEL-A25 Dec 15, 2024
70d037e
Update is-proper-fraction.test.js
EMMANUEL-A25 Dec 15, 2024
8877358
Update rotate-char.js
EMMANUEL-A25 Dec 15, 2024
5d38bd1
Update get-ordinal-number.test.js
EMMANUEL-A25 Dec 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update find.js
  • Loading branch information
EMMANUEL-A25 authored Dec 9, 2024
commit 3e307a31fbf22f40934848c6da9cd45637a7398c
4 changes: 2 additions & 2 deletions Sprint-3/revise/investigate/find.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ console.log(find("code your future", "z"));
// a) How the index variable updates during the call to find
// b) What is the if statement used to check

//The if statement is used to determine or check if the part of string has the character that we are looking for
//The if statement is used to determine or check if the part of the string has the character that we are looking for
// c) Why is index++ being used?

// I think it is used to locate the exact location of the character we will be looking for in our string.
// index++ makes sure the function looks at each character in the string one by one until it finds a match or reaches the end.

// d) What is the condition index < str.length used for?
// It checks if the current index is less than the length of the string to ensure the loop doesn't go beyond the string.