9 ms·
That's accurately named, though. It's values are the arguments that were passed to the function. A hypothetical parameters object would presumably tell you what
by TheCoelacanth 10y ago
That's accurately named, though. It's values are the arguments that were passed to the function. A hypothetical parameters object would presumably tell you what parameters the function was declared with, e.g.
function foo(a, b, c) {
return parameters;
}
would return ['a', 'b', 'c']
- dandare 10y agoNow I understand!!! Thanks :)