diff --git a/util/native_module_util.cpp b/util/native_module_util.cpp index 36c412f58c0984d652be38e7264e6fd7beef6a39..8d98e83e4f065ed3df24ff3674f5d00ecec4f576 100644 --- a/util/native_module_util.cpp +++ b/util/native_module_util.cpp @@ -26,7 +26,7 @@ extern const char _binary_util_js_js_start[]; extern const char _binary_util_js_js_end[]; namespace OHOS::Util { - static std::string temp = "cdijoOs"; + static std::string temp = "cdfijoOs"; static std::string DealWithPrintf(const std::string &format, const std::vector &value) { size_t i = 0; diff --git a/util/util_js.js b/util/util_js.js index 4589a78731e22253a1cbfc4c3ef39a41ba813182..64498531a13dc0f2e168550baaf24d351850dddf 100644 --- a/util/util_js.js +++ b/util/util_js.js @@ -74,7 +74,7 @@ function switchLittleValue(enter, protoName, obj, count) + '[length]: ' + obj[protoName].length + ',' + space + '[name] :\'' + obj[protoName].name + '\',' + space + '[prototype]: ' + obj[protoName].name - + ' { [constructor]: [Circular] } },' + enter; + + ' { [constructor]: [Circular] } },' + enter; } else { if (typeof obj[protoName] === 'string') { str += protoName + ': \'' + obj[protoName] + '\',' + enter;