forked from bakoliasn/basic-javascript-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkshop.js
83 lines (51 loc) · 1.25 KB
/
workshop.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
function firstLetter(inputString) {
}
function lastLetter(inputString) {
}
function letterAtPosition(inputString, position) {
}
function addTwoNumbers(num1, num2) {
}
function multiplyTwoNumbers(num1, num2) {
}
function calculator(operation, num1, num2) {
}
function repeatString(inputString, numRepetitions) {
}
function reverseString(inputString) {
}
function longestWord(inputString) {
}
function capitalize(inputString) {
}
function sumOfNumbers(arrayOfNumbers) {
}
function uniqueElements(array1, array2) {
}
function isPalindrome(inputString) {
}
function wrapCharacter(inputString) {
}
function wrapWord(inputString) {
}
function bubbleSort(arrayOfNumbers) {
}
/***** DO NOT EDIT AFTER THIS LINE *****/
module.exports = {
firstLetter: firstLetter,
lastLetter: lastLetter,
letterAtPosition: letterAtPosition,
addTwoNumbers: addTwoNumbers,
multiplyTwoNumbers: multiplyTwoNumbers,
calculator: calculator,
repeatString: repeatString,
reverseString: reverseString,
longestWord: longestWord,
capitalize: capitalize,
sumOfNumbers: sumOfNumbers,
uniqueElements: uniqueElements,
isPalindrome: isPalindrome,
wrapCharacter: wrapCharacter,
wrapWord: wrapWord,
bubbleSort: bubbleSort
};