Skip to content

assignSymbols works with symbols on Symbol

Choose a tag to compare

@justinbmeyer justinbmeyer released this 11 Oct 21:01
· 213 commits to master since this release
var list = ["a","b","c"];
canReflect.assignSymbols(list,{
    "can.onPatches": function(){
        
    },
    "iterator": function(){
      return list[Symbol.iterator]()
    }
})