canjs / can-observable-mixin

Define properties on JavaScript classes
https://canjs.com
MIT License
2 stars 1 forks source link

Implement the can.unwrap symbol #133

Closed chasenlehara closed 5 years ago

chasenlehara commented 5 years ago

This adds the can.unwrap symbol to the mixin’s implementation so canReflect.unwrap can get an object without undefined values, matching can-define/map/map’s behavior.

Needed as part of https://github.com/canjs/canjs/issues/5207