Skip to content

SyntaxError: Illegal return statement #15

@nianxiongdi

Description

@nianxiongdi

return function(env,dd,global){$gwxc=0;var root={"tag":"wx-page"};root.children=[]
^^^^^^

SyntaxError: Illegal return statement
at new Script (node:vm:99:7)
at VMScript._compileVM (/Users/didi/Downloads/wxappUnpacker/node_modules/vm2/lib/main.js:139:23)
at VM.run (/Users/didi/Downloads/wxappUnpacker/node_modules/vm2/lib/main.js:308:10)
at /Users/didi/Downloads/wxappUnpacker/wuWxml.js:399:16
at /Users/didi/Downloads/wxappUnpacker/wuRestoreZ.js:280:21
at catchZGroup (/Users/didi/Downloads/wxappUnpacker/wuRestoreZ.js:16:2)
at catchZ (/Users/didi/Downloads/wxappUnpacker/wuRestoreZ.js:21:33)
at getZ (/Users/didi/Downloads/wxappUnpacker/wuRestoreZ.js:280:3)
at /Users/didi/Downloads/wxappUnpacker/wuWxml.js:382:9
at /Users/didi/Downloads/wxappUnpacker/wuLib.js:95:14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions