| 1 |
/* |
| 2 |
* Re-define a function name |
| 3 |
*/ |
| 4 |
|
| 5 |
function _main(args) |
| 6 |
{ |
| 7 |
test(); |
| 8 |
} |
| 9 |
|
| 10 |
function test() |
| 11 |
{ |
| 12 |
test2(); |
| 13 |
} |
| 14 |
|
| 15 |
function test2() |
| 16 |
{ |
| 17 |
tadsSay('hello from test2!\n'); |
| 18 |
} |
| 19 |
|
| 20 |
function test() |
| 21 |
{ |
| 22 |
tadsSay('this is the redefined test()\n'); |
| 23 |
} |
| 24 |
|