How to avoid instance name in the Document URLs in Salesforce?

Make sure My Domain is enabled in your org.

Check the below URL, if My Domain is not enabled.

Image -{id}&oid={OrgId}

PDF -{id}

How to find triggers available in Salesforce?

1. Go to Apex Triggers.

2. Check the Sobject type.

Symbol datatype in JavaScript

Symbols are new primitive type added in ECMAScript 2015. Symbols do not have a literal syntax, they have a Symbol() function that can be used to create them.

Symbols are unique. Each new symbol has a new, unique value.
Symbol() === Symbol() // false

1. Symbols may be used as unique property keys. They prevent name clashes.
2. They may be used as constants representing concepts.
const CATEGORY_PHONES = Symbol('phones');