Add additional number as text
This commit is contained in:
parent
0859b6a23a
commit
bb12b98780
@ -11,7 +11,7 @@
|
||||
}
|
||||
|
||||
function numberAsWord(number) {
|
||||
const words = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight'];
|
||||
const words = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'];
|
||||
let word = words[number];
|
||||
if (word) {
|
||||
return word;
|
||||
|
Loading…
Reference in New Issue
Block a user