Skip to content

Writing in arrays cause invalid result #35

@klemmm

Description

@klemmm

Hello.

Defining an array, then writing to it and using it causes invalid result. Here is a minimal example showing the behavior:

Original:
====================
var a = ["hello"];
a[0] = "bye";
console.log(a[0]);

====================
____________________
Deobfuscated Code
var a = ['hello'];
'hello' = 'bye';
console.log('hello');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions