Skip to content

Commit 9d73af0

Browse files
committed
#2695: improve formatting
1 parent 88d661d commit 9d73af0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/src/2695-array-wrapper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ const ArrayWrapper = function(nums) {
5151

5252
/**
5353
* @return {number}
54-
*/
54+
***/
5555
ArrayWrapper.prototype.valueOf = function() {
5656
return this.nums.reduce((agg, num) => agg + num, 0);
5757
}
5858

5959
/**
6060
* @return {string}
61-
*/
61+
***/
6262
ArrayWrapper.prototype.toString = function() {
6363
return `[${this.nums.join(',')}]`;
6464
}
@@ -69,6 +69,6 @@ ArrayWrapper.prototype.toString = function() {
6969
* obj1 + obj2; // 10
7070
* String(obj1); // "[1,2]"
7171
* String(obj2); // "[3,4]"
72-
*/
72+
***/
7373

7474
module.exports = ArrayWrapper;

0 commit comments

Comments
 (0)