Native JS (es5) features "randomly" not supported in some environments (AE2020)
Hey guys,
We are currently working on writing an extension for AE, however, we are running into bugs that we cannot explain.
In our code, we use the .filter method on an array. Something that should be possible in AE19 and above, and in fact, it works flawlessly - on some computers.
In the office we run 8 computers with AE, all running the newest updated AE2020 version, and on about half of them it works, where the other half says that .filter is undefined.
We tried reinstalling everything, tried it with/without extendscript toolkit, we tried it between different versions of windows and mac, but it appears to be completely random.
We had a look at the expression engine (legacy or JS) but that appears to only affect expressions as expected and not scripting.
So, bottom line, higher js commands like .filter seem to work, but depending on your system they sometimes appear to not be included in the scripting engine.
Extremely weird.
Does anyone have any clue as to what could cause such a discrepancy between installations?
Any help is very much appreciated
