bahmutov / bahmutov/comment-value
Handle promises better
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
For example
```js
const promises = [Promise.resolve(20), Promise.resolve(30)]
// promises: [{},{}]
Promise.all(promises)
.then(console.log)
```
should produce
```js
const promises = [Promise.resolve(20), Promise.resolve(30)]
// promises: [Promise(20), Promise(30)]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the code that formats or updates comment values for JavaScript promises, using the Promise.all example and its console.log callback as the reproduction. Confirm that promise values are represented as Promise(20) and Promise(30) rather than empty objects, and add or run coverage for the demonstrated output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100