()
| 44 | |
| 45 | // * We can reassign the values of outer scope variables |
| 46 | function myFunc3() { |
| 47 | let name = "initial value"; |
| 48 | |
| 49 | for (let i = 0; i < 2; i++) { |
| 50 | name = "new value"; |
| 51 | } |
| 52 | |
| 53 | console.log(name); // new value |
| 54 | } |
| 55 | |
| 56 | // myFunc3(); |
| 57 |
nothing calls this directly
no outgoing calls
no test coverage detected