It is possible to allow method overloading based on what JavaScript allows us to test. Using our normal type detects we can distinguish between String, Boolean, Date, Number, Array and Object. Thus, in the JS world your examples would translate to
overloaded(String)
overloaded(Array)
and
overloaded(String, Array)
overloaded(Array, String)
which is ok.
But we couldn't distinguish between different sorts of arrays, f ex:
public void overloaded(String[] stringArr)
public void overloaded(Integer[] intArr)
as both these map to Array.
Object has the same problems as Array as all user-defined classes will be mapped against it but we only detect them as Object in JS. Though, if class-mapping is used then we can do full overloading on them as well.
One remaining problem is "null" [calling overloaded(null)], as it can map against any of the types, and we can't cast it to the desired type from client code. For that we would need to extend our call options to include some type hints.
I am tempted to push most of this to 4.0 
It is possible to allow method overloading based on what JavaScript allows us to test. Using our normal type detects we can distinguish between String, Boolean, Date, Number, Array and Object. Thus, in the JS world your examples would translate to
overloaded(String)
overloaded(Array)
and
overloaded(String, Array)
overloaded(Array, String)
which is ok.
But we couldn't distinguish between different sorts of arrays, f ex:
public void overloaded(String[] stringArr)
public void overloaded(Integer[] intArr)
as both these map to Array.
Object has the same problems as Array as all user-defined classes will be mapped against it but we only detect them as Object in JS. Though, if class-mapping is used then we can do full overloading on them as well.
One remaining problem is "null" [calling overloaded(null)], as it can map against any of the types, and we can't cast it to the desired type from client code. For that we would need to extend our call options to include some type hints.
I am tempted to push most of this to 4.0