Skip to content

Commit ebb486f

Browse files
committed
Merge
2 parents 00cb365 + f5138df commit ebb486f

File tree

67 files changed

+532
-133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+532
-133
lines changed

.gitattribute

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.vscode/settings.json
2-
.vscode/launch.json
2+
.vscode/launch.json
3+
.vscode

10_Days_of_Javascript/Day3_Try_catch_finally.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

10_Days_of_Javascript/Day5_Inheritance.js

Lines changed: 0 additions & 48 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Codewars/addBinary.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Binary Addition
2+
3+
function addBinary(a, b) {
4+
let sum = a + b,
5+
binary = "";
6+
7+
while (sum > 0) {
8+
binary = (sum % 2) + binary;
9+
sum = Math.floor(sum / 2);
10+
}
11+
12+
return binary;
13+
}

Codewars/disemvowel.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Disemvowel Trolls
2+
3+
function disemvowel(str) {
4+
return str.replace(/[aeiou]/gi, "");
5+
}

0 commit comments

Comments
 (0)