Wrong comments #38

Closed
shawjia opened this Issue Feb 3, 2012 · 1 comment

2 participants

@shawjia

https://github.com/shichuan/javascript-patterns/blob/master/literals-and-constructors/primitive-wrappers.html

There are some wrong comments in this page, for example:

// but it doesn't actually work
console.log(typeof greet.smile); // "boolean"
@shichuan
Owner

it does work. if your test shows otherwise, feel free to submit a test case and reopen it :)

@shichuan shichuan closed this Apr 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment