Skip to content

[Bug]: nodejs引擎丢失部分变量数据 #277

Closed
@xiaoqch

Description

@xiaoqch

Describe the bug

lse-nodejs脚本中,当Object类型变量以数字字符串作为键时,lse api可能会无法读取到该键值对

To Reproduce

const bug = {
  "22903518": 10689975,
  "22949482": "bug",
  "a114513": "not bug",
}
logger.error(bug);

结果打印 {a114513:not bug}

Expected behavior

打印 {22903518:10689975,22949482:bug,a114513:not bug} (quickjs引擎的输出)

Screenshots

No response

Platform

Windows

BDS Version

1.21.60

LeviLamina Version

1.1.1

LegacyScriptEngine Version

0.10.6

Additional context

再js脚本中读取是正常的

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions