Skip to content

Commit

Permalink
JavaScript: fix: User class
Browse files Browse the repository at this point in the history
  • Loading branch information
allentiak committed Oct 31, 2023
1 parent 0864ab1 commit 1e21531
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions javascript/src/User.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
"use strict";

module.exports = class User {
class User {
friends = [];
getFriends = () => this.friends;
}

}
module.exports = User

0 comments on commit 1e21531

Please sign in to comment.