Closed kevinpagtakhan closed 1 year ago
Creates clone of nested objects in DEFAULT_OPTIONS to break sharing of references to these nested objects
DEFAULT_OPTIONS
const a = amplitude.getInstance('a') > undefined const a = amplitude.getInstance('a') > undefined a.options.plan === b.options.plan > false a.options.library === b.options.library > false a.options.headers === b.options.headers > false a.options.ingestionMetadata === b.options.ingestionMetadata > false
Summary
Creates clone of nested objects in
DEFAULT_OPTIONS
to break sharing of references to these nested objectsTesting
Checklist