seawater MIT[https://web.mit.edu/seawater/]
This code is a conversion of the widely known VBA code at the above address into JavaScript.
As it has been converted through AI code, I cannot guarantee the same results. I plan to gradually verify it, so please let me know if there are any errors.