From a7ef7325f65c6c72c808218ff05501b6a6b8a53d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 11 Aug 2016 01:01:36 -0600 Subject: [PATCH] fix undefined check --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 068c377..3a6320b 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,7 @@ Challenge.create = function (options) { results.create = undefined; Object.keys(defaults).forEach(function (key) { - if ('undefined' !== typeof options[key]) { + if ('undefined' === typeof options[key]) { options[key] = defaults[key]; } });