I'm trying to use a setTimeout method with a Promise.resolve format. I think I am close to getting it, but I am not getting what I expected in my console.

```js
const good = Promise.resolve(setTimeout(() => 'success', 4000));
console.log(good);

//prints '51' instead of 'success'
```

I think that '51' is the numerical value of success. If I am correct I am wondering why it is printing that instead of the string isteald if it is in quotation marks.

Thank you for your help in advance!

Edit: To clarify, this was a challenge given to me by a Udemy instructor. I was asking why my specific code wasn't working not for answers.

This is the challenge:

```
const success = new Promise((resolve, reject) => {
         if (true) {
             setTimeout(resolve, 4000, 'success')
         } else {
             reject('error it broke')
         }
     });

    success 
        .then (() => console.log('success!'))

3. Read about Promise.resolve() and Promise.reject(). How can you make 
the above promise shorter with Promise.resolve() and console log "success"

```

When I was looking this up, it didn't appear that this was feasible but it was challenge so I figured I was missing something.

I hope this helps clarify things