diff --git a/index.js b/index.js index 23608913..ce92a428 100644 --- a/index.js +++ b/index.js @@ -21,6 +21,8 @@ function is(x) { "trzynaście", // Polish "trece", // Spanish "tredici", // Italian + "dreizehn", // German + "שלוש עשרה", // Hebrew "13+0i", //Imaginary 13's "13 + 13i", "13i" diff --git a/test.js b/test.js index 6d470d97..6b94e836 100644 --- a/test.js +++ b/test.js @@ -9,6 +9,8 @@ tap.equal(isThirteen('13', false), true); tap.equal(isThirteen('thirteen'), true); tap.equal(isThirteen('Thirteen'), true); +tap.equal(isThirteen('dreizehn'), true); +tap.equal(isThirteen('שלוש עשרה'), true); tap.equal(isThirteen('Remy Hadley'), true); tap.equal(isThirteen('https://scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/s320x320/e35/12237511_444845689040315_1101385461_n.jpg'), true);