Success handler argument

I have a doubt in the Javascript promise course.

When we create a success handler and pass the “resolvedValue” argument to it, what function or variable is the “resolvedValue” pointing to? Because i can see it referred to the “resolve” message of the Promise but it doesn´t have the same declaration.

Over here i left an example of the code i am talking about

const handleSuccess = (resolvedValue) => { console.log(resolvedValue); };

Thanyou for your help.

https://www.codecademy.com/courses/introduction-to-javascript/lessons/promises/exercises/introduction?action=resume_content_item