[Need Champion] Catch guards

That would be more in line with typescript, but not javascript because | is the binary OR operator. Instead you can see a proposal closer to the ECMA specifications

Universal and conditional catch blocks with the new when keyword