Skip to content

Commit

Permalink
remove unused object item
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Mar 28, 2017
1 parent 096ebc5 commit d136961
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.js
Expand Up @@ -5,7 +5,6 @@ function deconstructor({words, number, base}) {
const round = amount * prefix
return {
number: prefix,
round,
remainder: number - round,
word: words[which]
}
Expand Down Expand Up @@ -54,7 +53,6 @@ function teens(number) {
const prefix = number - 10
return {
number: '',
round: prefix,
remainder: 0,
word: words[prefix]
}
Expand All @@ -78,7 +76,6 @@ function tens(number) {
if (prefix == 1) return teens(number)
return {
number: '',
round,
remainder: number - round,
word: words[prefix]
}
Expand All @@ -99,7 +96,6 @@ function ones(number) {
]
return {
number: '',
round: number,
remainder: 0,
word: words[number]
}
Expand Down

0 comments on commit d136961

Please sign in to comment.