I'm wondering if it's OK to use let instead of var in some cases in a script, specifically with relation to backwards compatibility.
Safari didn't support let until 2017 and I'm wondering if that has any bearing on Logic, e.g. if Logic uses the js engine from Webkit and therefore changes over the years. This would mean that let was not available when MIDI scripting first appeared in Logic and so any scripts making use of it wouldn't be backwards compatible with older releases.
Or does Logic have its own internal js engine?