I am trying to understand how the API reference is meant to be used.
For example I want to see how to set up a trust line for an account using the changeTrust() operation.
I went to the API reference here: https://stellar.github.io/js-stellar-sdk/Operation.html#.changeTrust
But I can't understand how to use this. There's no examples of the changeTrust() function called or source code implementations.
Thanks for any help.