Implementation of Object.values()
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
Feature request template
Is your feature request related to a problem? Please describe.
Implementation of function Object.values() could be useful while working with radio. For example for parsing object to messages.
Describe the solution you'd like
I would like to see implementation of this as is described in web docs of JS (here)
const data = {
msg: 'Hello'
receiver: 'World'
};
const message = Object.values(data)
// ['Hello', 'World']
Describe alternatives you've considered
Alternative solution is only manualy compose array.
const data = {
msg: 'Hello'
receiver: 'World'
};
const message = [data.msg, data.receiver];
// ['Hello', 'World']
Additional context
I think this could be usefull in many other cases, that mentioned here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating how PXT handles JavaScript built-in APIs and compatibility with the documented Object.values behavior. Check whether related built-ins have implementation or test entry points. Done means Object.values is available and returns the expected values for the supported object cases described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100