()
| 45 | |
| 46 | // Filter only millionaires |
| 47 | function showMillionaires() { |
| 48 | data = data.filter(user => user.money > 1000000); |
| 49 | |
| 50 | updateDOM(); |
| 51 | } |
| 52 | |
| 53 | // Calculate the total wealth |
| 54 | function calculateWealth() { |
nothing calls this directly
no test coverage detected