diff --git a/object/is-object.js b/object/is-object.js index a86facf1..974689df 100644 --- a/object/is-object.js +++ b/object/is-object.js @@ -1,6 +1,6 @@ 'use strict'; -var map = { function: true, object: true }; +var map = { 'function': true, object: true }; module.exports = function (x) { return ((x != null) && map[typeof x]) || false;