Is grouping values with ( value1 || value2) for comparisons valid in JavaScript or TypeScript and if so, why not?
I am wondering if grouping values with || while comparing a single variable value is considered valid in the latest JavaScript or TypeScript and if not, does anyone know a reason for this to not become valid syntactic sugar at…