If no mode is specified, then GLOBAL mode is used.
The following example is a composite reference in dot notation:
After transformation in INLINE mode, the composite reference is in square bracket notation
Consider combining this transformation with Duplicate Literals Removal to replace the string literals with variables (aliases) that will make the resulting code more resilient to automated de-obfuscator tools.
Information about modes
Dot to bracket notation has three modes of operation. In INLINE mode, all generated property accesses reference the property name directly (e.g., navigator["plugins"]). In GLOBAL mode, the property names are stored in a global array (e.g., x8dg = ["plugins"]; ... navigator[x8dg]). In LOOP_INVARIANT mode, property names outside of loops are treated as INLINE, but property names inside loops are extracted to an array that is specific to each function.
If no mode is specified, then INLINE is used. The built-in templates use GLOBAL mode.
Extract and reuse property names to a global scope
Reuse property names on loops and extract them to the function scope