Skip to content

console打印js.createMap()创建的对象会导致应用崩溃 #18450

@Cmduck

Description

@Cmduck

Cocos Creator version

3.8.3,3.8.6

System information

Windows,Android

Issue description

3.6.1的C:\ProgramData\cocos\editors\Creator\3.6.1\resources\resources\3d\engine\native\cocos\bindings\jswrapper\v8\Object.cpp对toString操作做了兼容,引擎升级漏掉了

Relevant error log output

No response

Steps to reproduce

let obj = js.createMap(); obj.something = "xxx"; console.log("crash:", obj);

Minimal reproduction project

No response

Metadata

Metadata

Assignees

Labels

BugNeeds TriageNeeds to be assigned by the team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions