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');