Skip to content

Sets can not add elements #2114

Open
Open
@mind0bender

Description

@mind0bender

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:

  1. Create a set from an array
  2. or add a value
  3. print the set

Snippet:

function setup() {
  const a = new Set([10]);
  print(a);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions