Parameters can be whatever you want to call them. In all functions, whether it is a “normal” function of here, where it is a callback function in the constructor of a Promise. There is nothing odd about that.
JS doesn’t care. But if you can it’s good to label them for what they are/do. With the Promise callback the convention is to call them that because that is an excellent descriptor of their purpose. But it is not hardcoded into JS to call them that. But it is a very strong convention and you might get some weird looks.
Agreed , which is why I had some confusion when some articles and videos refer to them as arguments. Because with both of our examples the words can be changed to anything , as they are just a placeholder.
Similar to how the (resolve , reject ) in my example can be changed to (anyOtherWord1,anyOtherWord2) is how your example
can be changed to
and still get the same result as long as the code in the blocks are the same.
It’s like in geometry, a parabola is y = x^2. I can rename those, as long as I rename the axises as well. “x” and “y” are the parameters and the values that will be pumped into the formula are the arguments.