shawjia opened this issue 13 years ago · 1 comments
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"
it does work. if your test shows otherwise, feel free to submit a test case and reopen it :)