I am writing a library that provides the following function
function call(instance, func, arguments) {
return {
call: {
instance: instance,
func: func,
arguments: arguments
}
}
}
Is the name argumentsok used? This is really the best name for it, but I don't want to deal with a built-in variable. He works at Node. Will this work in all browsers and JavaScript environments?
Edit:
Please note that the above function works as expected in Node. I am wondering if this will work everywhere.
I would prefer not to rename it if there is no technical reason. I would really like this external function and documents to display this parameter name, because the returned object will be serialized as JSON and used in different languages.