canjs / can-map-define

Define rich attribute behavior
https://canjs.com/doc/can-map-define.html
MIT License
3 stars 2 forks source link

getOwnEnumerableKeys doesn't work without define #81

Closed phillipskevin closed 6 years ago

phillipskevin commented 6 years ago
var VM = CanMap.extend({});
var vm = new VM({ foo: "bar" });
canReflect.getOwnEnumerableKeys(vm); // should be ["foo"] but is []