Skip to content

Commit 38a8dbe

Browse files
committed
chore: took out excess text requested by anthony in the expressions calculator.
1 parent b43401f commit 38a8dbe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lesson_06/expression/src/expression_calculator.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
export class ExpressionCalculator {
22
/** Returns a calculation involving a, b, c, d, and e */
33
calculate(a: number, b: number, c: number, d: number, e: number): number {
4-
// Implement your code here to return the correct value.
5-
//(Math.pow(a, b) + c) * d / e
64
const exponential = this.pow(a, b);
75
const addition = this.add(exponential, c);
86
const multiply = this.multiply(addition, d);

0 commit comments

Comments
 (0)