Discussion of actual or possible Photoshop Scripting Bugs, Anomalies and Documentation Errors
4 posts • Page 1 of 1
That behavior is correct. parseInt will use whatever digits it finds at the beginning of the string to construct an int. If the string does not start with a digit, it will return NaN. If you want to force parse the entire string, use Number(t), which would return NaN in this case.