Closed xhliu closed 8 months ago
Explain when, otherwise users do NOT know.
Sometimes, if you only want to do a shallow copy of some properties, you can pass in the property names as an optional argument like this: let nextInstance = instance.next([‘prop1’, ‘prop2’]);
Sometimes, if you only want to do a shallow copy of some properties, you can pass in the property names as an optional argument like this:
let nextInstance = instance.next([‘prop1’, ‘prop2’]);
What's the difference?
let nextInstance = instance.next(); // vs let nextInstance = instance;
Done. https://github.com/sCrypt-Inc/scryptTS-docs/pull/231
Explain when, otherwise users do NOT know.