function getChildNode(node) {
	return node.type === "ConditionalExpression" ? node.test : node.left;
}
Checks whether the given node is a conditional expression and returns the test node else the left node.
@param {ASTNode} node A node which can be a BinaryExpression or a LogicalExpression node.
This parent node can be BinaryExpression, LogicalExpression
     , or a ConditionalExpression node
@returns {ASTNode} node the appropriate node(left or test).