code: function checkConstantConditionLoopInSet(node) {
              if (loopsInCurrentScope.has(node)) {
                  loopsInCurrentScope.delete(node);
                  context.report({ node: node.test, messageId: "unexpected" });
              }
          }
docs: Reports when the set contains the given constant condition node
  @param {ASTNode} node The AST node to check.
  @returns {void}
  @private