Js_util_helpfunction

Signed-off-by: lifansheng <lifansheng1@huawei.com>
This commit is contained in:
lifansheng
2021-09-02 19:28:21 +08:00
parent 04668b069c
commit 32396159d4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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<std::string> &value)
{
size_t i = 0;
+1 -1
View File
@@ -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;