mirror of
https://github.com/openharmony/js_util_module.git
synced 2026-07-21 06:05:21 -04:00
Js_util_helpfunction
Signed-off-by: lifansheng <lifansheng1@huawei.com>
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user