processing / processing/p5.js-web-editor
Sets can not add elements
Open
Nobody has claimed this yet.
Bug
Priority:Low
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build Process
- Unit Testing
- Internalization
- Friendly Errors
- Other (specify if possible)
p5.js version
1.5.0
Web browser and version
Brave: 1.47.186 Chromium: 109.0.5414.119
Operating System
Windows 11 Version 21H2 (Build 22000.1455)
Steps to reproduce this
Steps:
- Create a set from an array
- or add a value
- print the set
Snippet:
function setup() {
const a = new Set([10]);
print(a);
}
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 reproducing the provided Set snippet in the p5.js Web Editor using the reported browser and version, then inspect the editor path that handles JavaScript execution and output from print(). Done means creating a Set, adding a value, and printing it produce the expected visible result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100