jsx
In the jsx style, multiple codes are listed in an array like:
------------------------------------
$cx=array(
"...code1...",
"...code2...",
"...code3...",
);
------------------------------------
They are concatenated by a ZWSP(zero width space)(hex=200B,dec=8203)
------------------------------------
implode(mb_chr(8203),$cx)
------------------------------------
In JavaScript, this string will be split into array of code and gets execute by `forEach`
------------------------------------
"---concatenation---".split("\u200B").forEach()
------------------------------------
Inside `forEach`, each JavaScript code will be applied to `Function("ppax",jsc)(pax)`
------------------------------------
.forEach(jsc=>Function("ppax",jsc)(pax))
------------------------------------
In `Function("ppax",jsc)(pax)`, `jsc` is the code to execute. `pax` is a single parameter and referenced as `ppax` in the `jsc` code
Function("pax={};\"ppax.key1='baaa';|console.log(ppax.key1);|console.log(ppax.key1+'f2');|console.log(ppax.key1+'f3');\".split(\"|\").forEach(jsc=>Function(\"ppax\",jsc)(pax))")()