Only the string properties of an object are wrapped, presently, because only properties retrieved using Object.getOwnPropertyNames() in src/wrapper/wrapper.coffee are subject to wrapping.
Desired Behaviour
All properties of the object should be wrapped, including symbol properties. See MDN's reference page on Symbol for more information. Note that Symbol is part of the ECMAScript 6 proposal.
Current Behaviour
Only the string properties of an object are wrapped, presently, because only properties retrieved using
Object.getOwnPropertyNames()
insrc/wrapper/wrapper.coffee
are subject to wrapping.Desired Behaviour
All properties of the object should be wrapped, including symbol properties. See MDN's reference page on Symbol for more information. Note that Symbol is part of the ECMAScript 6 proposal.