From abab80d237c0a447a5a0cee84cbc1d8d1e200ae0 Mon Sep 17 00:00:00 2001 From: Piotrek Mierzejewski Date: Wed, 23 Mar 2016 18:33:35 +0100 Subject: [PATCH] Add important configuration options --- index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 65e20f98..e85bcd1a 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,9 @@ -function isThirteen(n) { - return n === 13; +function isThirteen(n, strictEquality) { + if (strictEquality === true) { + return n === 13; + } + + return n == 13; } module.exports = isThirteen;