issa-tseng / janus

the two-faced application library-framework.
http://janusjs.org
37 stars 7 forks source link

Map enumerations should omit unset shadow keys #129

Open issa-tseng opened 6 years ago

issa-tseng commented 6 years ago

So,

m1 = new Map({ x: 42 }); m2 = m1.shadow(); m2.unset('x'); m2.enumeration();

should be empty. But right now it has x as null.