fix undefined check

This commit is contained in:
AJ ONeal 2016-08-11 01:01:36 -06:00
parent a71c0c3838
commit a7ef7325f6
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}
});