trim() is not a function
I have an old Photoshop script from circa 2012 - which I remember working, that uses the trim() function. Strings, not pixels - let's make that clear.
var text = " Hello Spoons! ";
var result = text.trim();
alert(result)
However, something like the code above no longer works. text.trim is not a function.
I can use reg ex to trim the string, but my question is this:
Has Photoshop scripting changed/updated it's version of ECMA Script (ver 3.x???) to no longer include trim?
