bundles/org.eclipse.orion.client.javascript/web/eslint/lib/rules/no-implicit-coercion.js
function getOtherOperand(node, value) {
		if (node.left.type === "Literal" && node.left.value === value) {
			return node.right;
		}
		return node.left;
	}
function getOtherOperand(node, value) {
		if (node.left.type === "Literal" && node.left.value === value) {
			return node.right;
		}
		return node.left;
	}
function getOtherOperand ( node , value ) { if ( node . left . type === "Literal" && node . left . value === value ) { return node . right ; } return node . left ; }
Gets a node that is the left or right operand of a node, is not the specified literal.
@param {ASTNode} node - A BinaryExpression node to get.
@param {any} value - A literal value to check.
@returns {ASTNode} A node that is the left or right operand of the node, is not the specified literal.
Gets a node that is the left or right operand of a node is not the specified literal .