Is it possible to have an overloaded function in classic asp JScript
You overload a function name f by declaring more than one function with the name f in the same scope. The declarations of f must differ from each other by the types and/or the number of arguments in the argument list.
Restrictions on overloadingAny two functions in a set of overloaded functions must have different argument lists. Overloading functions that have argument lists of the same types, based on return type alone, is an error.
Unlike the other programming languages, JavaScript Does not support Function Overloading.
No. The last function will overwrite/replace the functions with the same name defined before it.
Read How does Classic ASP (vbscript) handel duplicate Function names
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With