Skip to content

AE Arrays do not support changes on indexed members (and for each loops) #411

@Markus-Brand

Description

@Markus-Brand
const options = [1, 2, 3];

aexpr(() => {
  let x = 0;
  /**/for(const y of options) {
    x += y;
  }/*/
  for(let i = 0; i < options.length; i++) {
    x += options[i];
  }/**/
  lively.notify("x: " + x);
  return x;
}).onChange(lively.notify);

options[0]++;
options.values()```

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