illuminatejs
illuminatejs copied to clipboard
Easy string concat not being resolved
Simple string concat like this:
fchzbi = 'funct';
crldyth = 'ion';
var gkphk = fchzbi + crldyth;
is simplified to
fchzbi = "funct";
crldyth = "ion";
const gkphk = fchzbi + crldyth;
instead of: const gkphk = "function";
it looks like the problem resides in how the variable are defined (implicit, without var/const aka not strictly compliant to standard).
If the code is:
var fchzbi = 'funct';
var crldyth = 'ion';
var gkphk = fchzbi + crldyth;
The string is being resolved. This means illuminatejs should be able to handle non-defined variable assignments like described in this test case.
Extensive example: https://pastebin.com/raw/DhguSR4i