Skip to content

1.0.3

Choose a tag to compare

@m-mujica m-mujica released this 23 Oct 16:34
· 37 commits to master since this release

Make sure for...in works with can-observable-array instances

This patch release fixes an issue where ownKeys returned an array with duplicated keys causing the following code to throw an exception

import { ObservableArray } from "//unpkg.com/can@6/core.mjs";

class List extends ObservableArray {}

let list = new List();
for (var name in list) {
  console.log(name);
}