diff options
Diffstat (limited to 'fpdfsdk/javascript/util.cpp')
-rw-r--r-- | fpdfsdk/javascript/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/util.cpp b/fpdfsdk/javascript/util.cpp index ecec8d173d..202a1ead7f 100644 --- a/fpdfsdk/javascript/util.cpp +++ b/fpdfsdk/javascript/util.cpp @@ -398,7 +398,7 @@ bool util::scand(CJS_Runtime* pRuntime, if (!std::isnan(dDate)) { vRet = CJS_Value(CJS_Date(pRuntime, dDate).ToV8Value()); } else { - vRet.Set(pRuntime->NewNull()); + vRet.Set(pRuntime->NewUndefined()); } return true; |