-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathcode-challenge.js
71 lines (57 loc) · 1.31 KB
/
code-challenge.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
/* eslint-disable no-unused-vars */
const { SPANISH_DICTIONARY, SHOE_LIST } = require('./constants.js');
const newSneakers = (sneakers) => {
// insert code
};
const isThatMichaelJordan = (name) => {
// insert code
};
const areYouM = (name) => {
// insert code
};
const mostViewsThreeSneakers = (sneakerOneViews, sneakerTwoViews, sneakerThreeViews) => {
// insert code
};
const mostViews = (sneakerViews) => {
// insert code
};
const validateEmail = (email) => {
// insert code
};
const validateEmailWithError = (email) => {
// insert code
};
const getInitials = (name) => {
// insert code
};
const howRepetitiveAreYou = (str, word) => {
// insert code
};
const spanishToEnglish = (spanish) => {
const dictionary = SPANISH_DICTIONARY;
// insert code
};
const getNames = (shoeList = SHOE_LIST) => {
// insert code
};
const getUniqueSneakers = (shoeList = SHOE_LIST) => {
// insert code
};
const getMostViewedSneakers = (shoeList = SHOE_LIST) => {
// insert code
};
module.exports = {
newSneakers,
isThatMichaelJordan,
areYouM,
mostViewsThreeSneakers,
mostViews,
validateEmail,
validateEmailWithError,
getInitials,
howRepetitiveAreYou,
spanishToEnglish,
getNames,
getUniqueSneakers,
getMostViewedSneakers,
};