hi
I'm looking at a JavaScript code that has a function with the following syntax:
you see the "[value]" there? is that valid?Code:function validate_mod_resource_mod_form_reference[value](element) {
….
}
Printable View
hi
I'm looking at a JavaScript code that has a function with the following syntax:
you see the "[value]" there? is that valid?Code:function validate_mod_resource_mod_form_reference[value](element) {
….
}
Where did you see this been done as there is no way you use an array reference on a function that's not a prototype of the Object family