Closed rwaldron closed 11 years ago
You are right, void 0
is probably the best way to do it as I just checked at http://jsperf.com/type-of-undefined-vs-undefined/6
I didn't put much thought into that. I guess there are better optimizations to be made in the code :)
i will update it next time I touch the code.
Also, big thanks for your article about Object.observe! Lack of it gives me headaches while working on my other project, https://github.com/warpech/angular-patch
My pleasure :)
https://github.com/warpech/sheetclip/blob/master/sheetclip.js#L16-17
Why?
Use
void 0