tvcutsem / harmony-reflect

ES5 shim for ES6 Reflect and Proxy objects
http://www.ecma-international.org/ecma-262/6.0/#sec-reflection
Other
478 stars 48 forks source link

Fix patched Object.defineProperty to return proxy itself. #52

Closed RReverser closed 9 years ago

RReverser commented 9 years ago

Object.defineProperty should always return object it was used on, but patched version returned sucess (true) instead.

tvcutsem commented 9 years ago

Thanks, good catch. Will await your updated Object.defineProperties patch, then I'll update the npm module to include both fixes.