| 9 | */ |
| 10 | |
| 11 | class User { |
| 12 | // Private Property |
| 13 | #e; |
| 14 | constructor(id, username, eSalary) { |
| 15 | this.i = id; |
| 16 | this.u = username; |
| 17 | this.#e = eSalary; |
| 18 | } |
| 19 | getSalary() { |
| 20 | return parseInt(this.#e); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | let userOne = new User(100, "Elzero", "5000 Gneh"); |
| 25 |
nothing calls this directly
no outgoing calls
no test coverage detected