Skip to content

Fix weirdness with arrays

Choose a tag to compare

@cherifGsoul cherifGsoul released this 15 Oct 15:04
· 25 commits to master since this release

list property will have Array type with an example like the following:

class Foo extends mixinObject() {
     static get props() {
          return {
             list: []
          };
     }
 }

var foo = new Foo();
foo.list = [ "one", "two" ]; 

TypeError: Right-hand side of 'instanceof' error will not be thrown.

#141