diff --git a/src/node_map.cpp b/src/node_map.cpp index 24672af66..8cf9ee9b6 100644 --- a/src/node_map.cpp +++ b/src/node_map.cpp @@ -68,7 +68,7 @@ const std::string StringifyStyle(v8::Handle styleHandle) { NAN_METHOD(NodeMap::Load) { NanScope(); - if (args.Length() != 1) { + if (args.Length() < 1) { return NanThrowError("Requires a map style as first argument"); }