function doesExponentNeedParens(exponent) {
	// '**' is right-associative, there is no need for parens when Math.pow(a, b ** c) is converted to a ** b ** c
	return astUtils.getPrecedence(exponent) < PRECEDENCE_OF_EXPONENTIATION_EXPR;
}
Determines whether the given node needs parens if used as the exponent in an exponentiation binary expression.
@param {ASTNode} exponent The node to check.
@returns {boolean} `true` if the node needs to be parenthesised.