Skip to content

Commit

Permalink
Added a comment
Browse files Browse the repository at this point in the history
This is probably the most truthful commit message
in this repository so far.
  • Loading branch information
julijane committed Nov 28, 2018
1 parent 201ad30 commit 5fb49c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const sleep = require('await-sleep')
let spaced = (str, spacing=1) => str.split('').join(' '.repeat(spacing))
let spacedUp = (str, spacing=1) => spaced(str,spacing).toUpperCase()
let decaps = (str, spacing=1) => str.split('').reverse().join(' '.repeat(spacing))

// Do you get it? Ah, now you got it.
let spacedPromise = async (str, spacing=1) => (await sleep(10)) || spaced(str, spacing)
let spacedUpPromise = async (str, spacing=1) => (await sleep(10)) || spacedUp(str, spacing)
let decapsPromise = async (str, spacing=1) => (await sleep(10)) || decaps(str, spacing)
Expand Down

0 comments on commit 5fb49c2

Please sign in to comment.