Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing in arrays cause invalid result #35

Open
klemmm opened this issue Nov 25, 2021 · 0 comments
Open

Writing in arrays cause invalid result #35

klemmm opened this issue Nov 25, 2021 · 0 comments

Comments

@klemmm
Copy link

klemmm commented Nov 25, 2021

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');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant