BinaryExpressionExponentitionFunctionTemplate.ts 213 B

12345678910
  1. /**
  2. * @returns {string}
  3. */
  4. export function BinaryExpressionExponentiationFunctionTemplate (): string {
  5. return `
  6. function {functionName} (x, y) {
  7. return Math.pow(x, y);
  8. }
  9. `;
  10. }