I need to ensure that the operations in my assignment are happening in a specific sequence. As far as I can tell, it should be following the order listed below. However, I have not been able to locate any documentation on TypeScript that definitively confirms or denies this.
const currentFreak =
this.allFreaks.find(freak => freak.id === currentFreakId) ||
this.allFreaks.find(freak => freak.Active) ||
this.allFreaks.find(freak => freak.defaultFreakId);
Can I assume that the above code is being executed in order using short-circuit logic? I found some information on this topic in the TypeScript documentation at this link, but it seems unclear based on my interpretation of it.