These apply to all JavaScript and TypeScript code.
For TypeScript-specific guidelines, see:
function() { … })()
if
for
else
else if
}