mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
transformObjectKeys refactoring and bug fixes
This commit is contained in:
+6
-4
@@ -9,10 +9,12 @@ import { NO_ADDITIONAL_NODES_PRESET } from '../../src/options/presets/NoCustomNo
|
||||
`
|
||||
function test() {
|
||||
var foo;
|
||||
return (foo = {props: 1})['state'] = {
|
||||
expanded: foo.props
|
||||
},
|
||||
foo.state.expanded;
|
||||
|
||||
return foo
|
||||
? {
|
||||
bar: foo.foo
|
||||
}
|
||||
: 1;
|
||||
}
|
||||
|
||||
console.log(test());
|
||||
|
||||
Reference in New Issue
Block a user