Typo | |
In http://dmitrysoshnikov.com/ecmascript/chapter-7-2-oop-ecmascript-implementation/#property-accessors | |
The third code snippet should be | |
alert(a.toString()); ----> | |
wrapper = new Number(a); ----> | |
alert(a.toString()); | |
Instead of | |
a.test = 100 ----> | |
wrapper = new Number(a); ----> | |
wrapper.test = 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment