Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #9 from ASwitlyk/patch-1
Browse files Browse the repository at this point in the history
Update index.js
  • Loading branch information
phillipalexander committed Dec 14, 2014
2 parents e3cc2b3 + 957a569 commit a4c09bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
@@ -1,5 +1,5 @@
module.exports = function thirteen(number) {
if (number !== undefined && typeof number != "number") {
if (number !== undefined && typeof number !== "number") {
// Can number be cast to a number?
if (!isNaN(+number.toString())) {
return +number.toString() * 13;
Expand Down

0 comments on commit a4c09bf

Please sign in to comment.