Since arrays and object are passed by reference with javascrit, why a global array modified inside a function is not modified after the function call ?
Here is a simple e