Skip to content

Commit ba71cb0

Browse files
Updated JavaScript test files.
1 parent f00d69c commit ba71cb0

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33

44
export function Add(a, b) {
5-
return a + b;
5+
return a + b;
66
}
77

88
export function Subtract(a, b) {
9-
return a - b;
9+
return a - b;
1010
}
1111

1212
export function Multiply(a, b) {
13-
return a * b;
13+
return a * b;
1414
}
1515

1616
export function Divide(a, b) {
17-
return a / b;
17+
return a / b;
1818
}
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33

44
import * as Arithmetic from '../Arithmetic/Arithmetic.js';
55

66
export class Rectangle {
7-
constructor(width, height) {
8-
this.width = width;
9-
this.height = height;
10-
}
11-
get Area() {
12-
return Arithmetic.Multiply(this.width, this.height);
13-
}
7+
constructor(width, height) {
8+
this.width = width;
9+
this.height = height;
10+
}
11+
get Area() {
12+
return Arithmetic.Multiply(this.width, this.height);
13+
}
1414
}
1515

1616
export class Square extends Rectangle {
17-
constructor(side) {
18-
super(side, side);
19-
}
17+
constructor(side) {
18+
super(side, side);
19+
}
2020
};

0 commit comments

Comments
 (0)