function isCommutativeOperatorWithShorthand(operator) {
	return ["*", "&", "^", "|"].includes(operator);
}
Checks whether an operator is commutative and has an operator assignment
shorthand form.
@param {string} operator Operator to check.
@returns {boolean} True if the operator is commutative and has a
    shorthand form.