Get asynchronous result with Promise

The Promise below uses setTimeout to do an asynchronous operation. But, it does not resolve with the result of that operation. Fix the mistake such that the then() handler logs the modified value of the variable data.
Get a premium membership to access this content: