Skip to content

Commit 364697a

Browse files
pre pseudocode order please
1 parent 41d2b07 commit 364697a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

6kyus/js/yourOrderPlease.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// string of words with a combination of letters and a number
2+
// should not expect to have more than one number digit per word - 1 thru 9
3+
// output should still include the number in the word
4+
// if input empty, output should be empty
5+
6+
function order(words) {}
7+
8+
console.log('is2 Thi1s T4est 3a', 'the answer is: ', 'Thi1s is2 3a T4est')
9+
console.log('4of Fo1r pe6ople g3ood th5e the2', 'the answer is: ', 'Fo1r the2 g3ood 4of th5e pe6ople')
10+
console.log('', 'the answer is: ', '', 'empty input should return empty string')

0 commit comments

Comments
 (0)